Week 10 Tasks

Structures

Task 50

Define a structure data type called time_struct containing three members integer hour, integer minute and integer second. Develop a program that would assign values to the individual members and start running the clock and disply time in HH:MM:SS format.

Task 51 (Experiment 19)

Design a structure student_record to contain name, roll_number, and total marks obtained. Write a program to read 10 students data from the user and then display the first three toppers on the screen.