Task 2: Grading A professor will give the number of students and their grades. You need to calculate the number of students whose grade is less than the average. (base) sebasjr@sebasjr-ubuntu:~$ ./a.out how many students do you have?5 Input the grades 1 2 3 4 10 The number of students who fail is 3 (base) sebasjr@sebasjr-ubuntu:~$ ./a.out how many students do you have?8 Input the grades 1 6 3 8 1 5 2 4 The number of students who fail is 4

Microsoft Visual C#
7th Edition
ISBN:9781337102100
Author:Joyce, Farrell.
Publisher:Joyce, Farrell.
Chapter5: Looping
Section: Chapter Questions
Problem 12E
icon
Related questions
Question

Please write the code in C programming language!!!!!!!!

Task 2: Grading
A professor will give the number of students and their grades. You need to calculate the number of
students whose grade is less than the average.
(base) sebasjr@sebasjr-ubuntu:~$ ./a.out
how many students do you have?5
Input the grades
1 2 3 4 10
The number of students who fail is 3
|(base) sebasjr@sebasjr-ubuntu:~$ ./a.out
how many students do you have?8
Input the grades
1 6 3 8 1 5 2 4
The number of students who fail is 4
Transcribed Image Text:Task 2: Grading A professor will give the number of students and their grades. You need to calculate the number of students whose grade is less than the average. (base) sebasjr@sebasjr-ubuntu:~$ ./a.out how many students do you have?5 Input the grades 1 2 3 4 10 The number of students who fail is 3 |(base) sebasjr@sebasjr-ubuntu:~$ ./a.out how many students do you have?8 Input the grades 1 6 3 8 1 5 2 4 The number of students who fail is 4
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps with 2 images

Blurred answer
Knowledge Booster
Graphical User Interface
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage