subject

This project is to determine if a phone number is a prime number. if the number is a prime number, then print a message to that effect. if the number is not a prime number, then print the prime factors of the number. allow the user to continue entering numbers for as long as he or she wishes. we will discuss possible algorithms and determine the most efficient one to be used by everyone. this project is a two-part project. the first part is to write a program that will create a list of prime factors that can be stored in an arraylist. this list will be sent to a file. the second part of the project is to write a program that will read from a file the list of prime factors created in part one and use it to determine if the phone number is prime and if not what are its prime factors. (3 points) after it runs as a console program, using the gui example from my website as a guide, convert this program to a graphics program. to debug your compiled program, use system. out. println() to follow intermediate values of your variables to see where your code does not follow the algorithm.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 23:00
Which type of tab stop is most for weights and measurements?
Answers: 1
question
Computers and Technology, 23.06.2019 02:00
Consider the following function main: int main() { int alpha[20]; int beta[20]; int matrix[10][4]; . . } a. write the definition of the function inputarray that prompts the user to input 20 numbers and stores the numbers into alpha. b. write the definition of the function doublearray that initializes the elements of beta to two times the corresponding elements in alpha. make sure that you prevent the function from modifying the elements of alpha. c. write the definition of the function copyalphabeta that stores alpha into the first five rows of matrix and beta into the last five rows of matrix. make sure that you prevent the function from modifying the elements of alpha and beta. d. write the definition of the function printarray that prints any onedimensional array of type int. print 15 elements per line. e. write a c11 program that tests the function main and the functions discussed in parts a through d. (add additional functions, such as printing a two-dimensional array, as needed.)
Answers: 3
question
Computers and Technology, 23.06.2019 03:30
Many everyday occurrences can be represented as a binary bit. for example, a door is open or closed, the stove is on or off, and the fog is asleep or awake. could relationships be represented as a binary value? give example.
Answers: 1
question
Computers and Technology, 23.06.2019 06:30
On early television stations, what typically filled the screen from around 11pm until 6am? test dummies test patterns tests testing colors
Answers: 1
You know the right answer?
This project is to determine if a phone number is a prime number. if the number is a prime number, t...
Questions
question
English, 08.10.2020 06:01
question
Mathematics, 08.10.2020 06:01
question
History, 08.10.2020 06:01