Question: c++ write a program that translate the following diagram 1> Write a program that translates the following diagram. All right branches indicate [YES] answer and
1> Write a program that translates the following diagram. All right branches indicate [YES] answer and all left branches indicate [NO] answer. Test your program using different input values. Remark: Correct Indentation is very important, 50% of grade will be assigned to it. START Read 3 integers x,y and z. Is x+y positive? Is x divisible by 3? Is y even? Z = z - 18 Is x equals 99? Z=+ 13 ZEZ/ 4 2 = 2 Is z> 3? Z + 123 Print the value of z on the screen END
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
