Menu

[solved] – Question 99508

Write pseudo code and draw flowchart for each of the problems. Based on your algorithm write a C++ code to perform the required task. Your program should be error free. 1. Receive a number and determine whether it is odd or even. 2. Obtain two numbers from the keyboard, and determine and display which (if either) is the larger of the two numbers. 3. Receive 3 numbers and display them in ascending order from smallest to largest 4. Add the numbers from 1 to 100 and display the sum 5. Add the even numbers between 0 and any positive integer number given by the user. 6. Find the average of two numbers given by the user. 7. Find the average, maximum, minimum, and sum of three numbers given by the user. 8. Find the area of a circle where the radius is provided by the user. 9. Swap the contents of two variables using a third variable.

Expert Answer


OR


Leave a Reply

Your email address will not be published. Required fields are marked *