1.Create a program to accept entry for three students
a.name
b.age.
c.gender(male/female)
d.roll number
e.marks in maths, science and language

--->check if the average of the marks of all the students and print them.
--->check the highest average marks out of all the three students and print the student who is the topper(with the highest average marks.

Recommended Answers

All 3 Replies

What is your question?

Sounds like somebody's homework assignment...

We're happy to help you, but we're not here to do all the work, because you simply don't learn anything that way.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.