Develop an M-file that is asked the user to pass a numeric grade from 0 to 100 and returns a letter :grade according to the following scheme Letter Criteria 90 < numeric grade < 100 80 < numeric grade < 90 70 < numeric grade < 80 60 < numeric grade < 70 numeric grade < 60 A B C D F

C++ Programming: From Problem Analysis to Program Design
8th Edition
ISBN:9781337102087
Author:D. S. Malik
Publisher:D. S. Malik
Chapter7: User-defined Simple Data Types, Namespaces, And The String Type
Section: Chapter Questions
Problem 8PE: Write a program that reads in a line consisting of a students name, Social Security number, user ID,...
icon
Related questions
Question
I need the answer as soon as possible
Develop an M-file that is asked the user to pass a
numeric grade from 0 to 100 and returns a letter
:grade according to the following scheme
Letter
Criteria
90 < numeric grade < 100
80 < numeric grade < 90
70 < numeric grade < 80
60 < numeric grade < 70
numeric grade < 60
ABCDE
Transcribed Image Text:Develop an M-file that is asked the user to pass a numeric grade from 0 to 100 and returns a letter :grade according to the following scheme Letter Criteria 90 < numeric grade < 100 80 < numeric grade < 90 70 < numeric grade < 80 60 < numeric grade < 70 numeric grade < 60 ABCDE
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 1 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