Question: C++ 3. Write a program that displays the value of each triplet of items entered as data; for example, for the data 5 3.5, it
3. Write a program that displays the value of each triplet of items entered as data; for example, for the data 5 3.5, it should display the line: 5 3.5 8.5. The program should terminate when g or o is the first item of a triplet
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
