[Solved] program cpp

$25

File Name: program_cpp.zip
File Size: 103.62 KB

SKU: [Solved] program cpp Category: Tag:
5/5 - (1 vote)

1. Write a program that allows the user to enter two integers and then tells the user which of the two values is smaller. For example, if the user entered the integers 5 and 6 the output should be something like:- 5 is the smaller number. As always test the program with several different sets of input values to make sure that it runs properly. 2. What happens if the user enters two numbers that are the same? 3. If necessary x the program so that it gives a `reasonable output if the user enter two numbers that are the same. 4. If you used only simple if statements in your program, rewrite it to use if-else constructs. If you already used if-else constructs, rewrite your program to use only if statements. 5. You should turn in two programs and output showing the test cases for both programs. The two programs are the program that uses ifs and the program that uses if-elses.

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Shopping Cart
[Solved] program cpp
$25