Describe about flowchart with the hepl of example


Problem:

Develop a flowchart and then

Question- a) write a C++ program to solve the following problem. Upon execution of the program, your name will be displayed on the screen, properly centered.

(b) The program will then prompt the user for two integer inputs and the program will then compute the difference and the product of the two numbers and produce the results of both operations with appropriate labels. See sample output for the subtraction operation below. The difference between a and b is equal to a - b or 10 - 8 and the result is 2

(c)The program will then use the same two integer numbers and perform the following operations: The program will evaluate and display the relations between the two numbers for the following relational operators: >, <, >=, <=, ==, != Each of these operators require two operands: use the first integer number as the first operand and the second integer number as the second operand. See sample of output desired below. a > b is 10 > 8 and the result is Yes where a is the first number and is b the second number. Your solution will work for any two integer numbers. (Note: if a = 8 and b = 10, then a > b will be No)

(d) The program will then use the same two integer numbers and computes different operations using the following assignment operators: -=, *=, %= The result of these operations are stored in the first operand. See example below. a -= b is 10 -= 8 and the result is a = 2 or a *= b is 10 *= 8 and the result is a = 80

Please show the working with the help flow chart.

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: Describe about flowchart with the hepl of example
Reference No:- TGS0892916

Expected delivery within 24 Hours