Question: 2 9 . 6 LAB: Output numbers in reverse Write a program that reads a list of integers, one per line, until an * is
LAB: Output numbers in reverse
Write a program that reads a list of integers, one per line, until an is read, then outputs those integers in reverse. For simplicity in coding output, follow each integer, including the last one, by a comma.
Note: Use a while loop to output the integers. DO NOT use reverse or reversed
Ex: If the input is:
the output is:
qxzqy
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
