# Practice Programming Challenge

Practice Programming Challenge

A prime number is a whole number greater than 1 whose only factors are 1 and itself. A factor is a whole number that can be evenly divided into another number. The first few prime numbers are 2, 3, 5, 7, 11, 13, 17, 19, 23, and 29. The number 1 is not prime.

Create a java application that allows the user to repeatedly enter a number to find out it is a prime number.

The program should:

· Prompt the user for a number greater than 1

· Print out if the number is a prime number or not

· Then ask the user if they would like to enter another number or quit

See sample below:isPrime.jpg

In addition, your program should also contain and demonstrate a method isPrime. This method should:

· Take in one int as an argument

· Return a boolean – true if the argument is prime, false if argument int is not prime

The main method of the program should call the isPrime method to determine if the number entered by the user is prime.

## How do you place an order?

It takes a few steps to place an order with Us:

• The first step is to place your order. You will need to provide us with some basic information about your project.
• Once you have placed your order, you will be taken to our secure payment page.
• Once we receive your order, we will carefully review it and match you with a writer who has the skills and experience.
• Stay in contact with the writer and discuss vital details of research.
• Your completed proposal will be delivered via email within the specified deadline.

### You are secure when using our service

It's critical for each client to feel secure. As a result, we at Research Proposal Writing take precautions to secure your data.

Financial security You may securely pay for your purchase using a variety of secure payment methods.
Personal security The personal information of our clients is secure. Nobody else will have access to it.
Academic security We use a specialized program to check every completed paper to ensure that we deliver no-plagiarism samples.
Web security This website is safe from unauthorized breaches. We maintain our privacy management in line with the latest laws and regulations.