Details of this Paper

Write a program that prompts the user to input a positive integer. He should then output a message indicating

Description

solution


Question

Write a program that prompts the user to input a positive integer. He should then output a message indicating whether the number is a prime number.Note: an even number is prime if it is 2. An odd integer is prime if it is not divisible by any odd integer less than or equal to the square root of the number.;Assignment Requirements;?Start by analyzing the problem, use an IPO chart and pseudocode (or flowchart) to brainstorm the logic prior to start coding. Using Visual Studio code and test your program according to your pseudocode solution. Once you are satisfied with your program outcome, open a Word document and insert a cover page, include your design IPO chart, pseudocode or flowchart, C++ source code, and print screen shots of the DOS command dialog window showing your test results. Be sure to test the program at least two times to insure the program executes properly..;?Insure that your C++ source code is fully documented by including source code comments. Include a ?flower box?, i.e

 

Paper#65275 | Written in 18-Jul-2015

Price : $22
SiteLock