1. Write a program that keeps on accepting Exam Marks until it is given a negative
number
After a negative number is received, the program will display the biggest and smallest
mark out of the inputs
Example Input:
100
65
73
70
87
-10
Example Output:
Biggest Number = 100
Smallest Number = 65
2. Write a program that keeps on accepting Exam Marks until it is given a negative
number
, After a negative number is received, the program will display all marks with the
reverse order
Example Input:
100
65
73
70
87
-10
Example Output:
87 70 73 65 100
number
After a negative number is received, the program will display the biggest and smallest
mark out of the inputs
Example Input:
100
65
73
70
87
-10
Example Output:
Biggest Number = 100
Smallest Number = 65
2. Write a program that keeps on accepting Exam Marks until it is given a negative
number
, After a negative number is received, the program will display all marks with the
reverse order
Example Input:
100
65
73
70
87
-10
Example Output:
87 70 73 65 100