Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

solve in matlab 5. Letter grade calculator Write a function with first line function [grade] =myLetterGrader (percent) where grade is the string 'A+ if percent

solve in matlab image text in transcribed
5. Letter grade calculator Write a function with first line function [grade] =myLetterGrader (percent) where grade is the string 'A+ if percent is bigger than 97, 'A if percent is bigger than 93, A- if percent is bigger than 90, 'B+ if percent is bigger than 87, B if percent is bigger than 83, B-' if percent is bigg D+ if percent is bigger than 67, 'D' if percent is bigger than 6 for any percent lower than 60. Grades exactly on the division should be included in the higher grade C+, if percent is bigger than 77,'C' if percent is bigger than 73, C" if percent is bigger than 70, 3, D- if percent is bigger than 60, and 'F category Test Cases: >> grade = myLetterGrader (97) grade A+ >> grade = myLetterGrader(84) grade

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions