1.
Marks Entry System
Problem Statement:
In a college exam system, a teacher enters marks of 5 students into the system. You need to
display all the marks as entered.
Input:
Enter 5 student marks:
45 67 89 55 77
Output:
Marks entered: 45 67 89 55 77
2. Total Grocery Bill Calculator
Problem Statement:
A customer buys multiple grocery items. The billing system stores the price of each item in
an array. Calculate the total amount to be paid.
Input:
Enter prices of 4 items:
100 250 75 150
Output:
Total Bill: ₹575
3. Finding Top Performer in a Quiz
Problem Statement:
After an online quiz, student scores are stored in an array. Write a program to find the
highest score among all students.
Input:
Scores: 45 78 66 89 34
Output:
Top Score: 89
4. Rewind Playlist
Problem Statement:
A music app shows songs in reverse order when the "rewind" button is pressed. Given a list
of songs, print them in reverse.
Input:
Songs: A B C D
Output:
Rewind Order: D C B A
5. Second Highest Bidder
Problem Statement:
In an online auction, the top 2 bidders are rewarded. Write a program to find the second
highest bid from the list.
Input:
Bids: 5000 10000 7500 6000
Output:
Second Highest Bid: 7500