QI) Write a program to test the degrees of 100 students, If the student's degree is a floating, it should be rounded to the nearest integer number then find and print 1-The number of students those degrees above 80 2-The number of students those degrees between 60 and 79 3- The number of students those failed and their degrees.

C++ Programming: From Problem Analysis to Program Design
8th Edition
ISBN:9781337102087
Author:D. S. Malik
Publisher:D. S. Malik
Chapter8: Arrays And Strings
Section: Chapter Questions
Problem 10PE
Question

in matlab 

QI) Write a program to test the degrees of 100 students, If the student's degree is a floating.
it should be rounded to the nearest integer number then find and print:
1-The number of students those degrees above 80
2-The number of students those degrees between 60 and 79
3- The number of students those failed and their degrees.
Transcribed Image Text:QI) Write a program to test the degrees of 100 students, If the student's degree is a floating. it should be rounded to the nearest integer number then find and print: 1-The number of students those degrees above 80 2-The number of students those degrees between 60 and 79 3- The number of students those failed and their degrees.
Expert Solution
Step 1

here is the program to test the degree of 100 students :

steps

Step by step

Solved in 4 steps with 5 images

Blurred answer
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
Programming with Microsoft Visual Basic 2017
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:
9780357392676
Author:
FREUND, Steven
Publisher:
CENGAGE L
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,