Write a program to read the marks of 50 students in a class and display the following:
1.average mark obtained by each student. 2.print the roll number and average marks of the students whose average mark is above 80. 3.print the roll number and average marks of the students whose average mark is below 40.
- 12120 Views
- 1 Answers
1 Answers
-
-
- 01 Apr
- 0 Comment
-
- Mention the four important part of looping.
- How will you print numbers from 1 to 100 without using loop?
- What are preprocessor directives in c language?
- What site is the best video tutorial website for learning C programming?
- Can someone explain the concept of pre and post increment in C?
- Write a program to calculate the following series:
- How to dynamically allocate a 2D array in C?
- Trade crypto anytime
- What does a person require to opt C programming as a career?
- What are storage classes in C language?
Practice Mock Test
c programming
{br /float sum=0;br /for(int count=0;count<10;count++)br /sum+=marks[count];br /return sum/10;br /}