You are on page 1of 1

Graded Lab No.

2
Task No.1
Enter marks for five students that are float numbers from user in five different variables
that are
Student1 , Student2 , Student3 , Student4 , Student5
1) Check which students comes first, second and third.
2) Check the user enters a positive number.
3) Average of marks
If the user enters a negative number take the input again. Keep track of the negative
numbers if the user enters negative number three times print the message that try again
later.

You might also like