How can we print the same list of the numbers in the output given by the user by using the loop before print the answer in c++?
Example:
Find the largest number in the list
We can get the list of the numbers by the user one by one by using loop are: 2,6,7,1,9
Output:
List of the numbers is : 2,6,7,1,9
The largest number is : 9
I am trying to solve this problem but i do not get the required answer