You are on page 1of 1

Model-3

ECE-A
1.Create a structure called movie that stores
movie name, year,director,ratings.
a. Display the movie name and director.
b. Also display the movie with highest ratings.
2. Create a structure called student and store student details
Student name, Rno, marks
Get the details of 3 students. For each student get 5 marks. Find the total.
a. Display the student details.
b. Display the student with highest total.
3. Create a structure complex that can hold the real and imaginary parts of a complex
number.Create 2 structure variables and read 2 complex numbers. Perform their addition and
display the result.

You might also like