Write a MATLAB program that asks the user to enter his results in four quizzes (q1,q2,...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Write a MATLAB program that asks the user to enter his results in four quizzes (q1,q2, q3, and q4) out of 100, and calculate the average value. Then print the output given in the Table below to the user depending on the average value using nested if-elseif-else - end statements. Average Value Less than 70 70 to 79 Output Unsatisfactory Satisfactory Good 80 to 89 More than 90 Excellent Write a MATLAB program that asks the user to enter his results in four quizzes (q1,q2, q3, and q4) out of 100, and calculate the average value. Then print the output given in the Table below to the user depending on the average value using nested if-elseif-else - end statements. Average Value Less than 70 70 to 79 Output Unsatisfactory Satisfactory Good 80 to 89 More than 90 Excellent
Expert Answer:
Answer rating: 100% (QA)
Prompt the user to enter their quiz results q1 inputEnter yo... View the full answer
Related Book For
Posted Date:
Students also viewed these programming questions
-
What are the options if a company cannot sell the number of items necessary to hit the break even point?
-
can someone solve this Modern workstations typically have memory systems that incorporate two or three levels of caching. Explain why they are designed like this. [4 marks] In order to investigate...
-
Write a program that reads three integer numbers from the user and prints the numbers in ascending order. 2. Write a Java program to check whether a number is divisible by 5 and 11 or not. 3. Write a...
-
A 1-m3 insulated tank contains air at 1 MPa, 560 K. The tank is now discharged through a small convergent nozzle to the atmosphere at 100 kPa. The nozzle has an exit area of2 x 10-5 m2. a. Find the...
-
Explain the meaning of the $200 and the $4 in the regression equation, yi = $200 + $4xi, where yi denotes the total monthly cost of indirect supplies and xi is machine hours per month.
-
Harrier Ltd began operations on 1 July 2023. During the following year, the company acquired a tract of land, demolished the building on the land and built a new factory. Equipment was acquired for...
-
\(47+200\) Complete the indicated calculation.
-
Louisville Jar Co. has processing plants in Kentucky and Pennsylvania. Both plants use recycled glass to produce jars that a variety of food processors use in food canning. The jars sell for $10 per...
-
fill in the blanks please You founded a ?rm some time ago, and own all of the 500 000 outstanding stocks. Now you need additional capital in order to grow. A venture capitalist is willing to invest...
-
Billy Ray owns several parcels of rental real estate, and he actively participates in managing the properties. His total loss from these activities in 2019 is $30,000. Assuming that his AGI for 2019...
-
SLL is leasing space in both Barrie and the Collingwood as of January 1, 2020. Mike signed two year leases at each location and SLL was required to place a deposit of $2,500 (for each location) which...
-
Determine the equipments book value More a. The business has interest expense of $2,900 that it must pay early in January 2024. b. Interest revenue of $4,800 has been earned but not yet received. c....
-
Pablo and Jacob are running a half marathon. Jacob is d = 42.3m behind Pablo, and both are running at the same speed, v 0 = 2.96m / s At a particular moment, Jacob begins to accelerate forward at a...
-
Over the past four years, your stock portfolio has returned the following: Year 1 Return 8% 2 -3% 34 3 5% 4 10% a) Find the arithmetic average return for the four years. b) Find the arithmetic...
-
Melissa's Pie Factory recorded total sales of $200,000 last month with a Unit Selling Price of $5.00. The firm also incurred a Total Fixed Costs of 75,000 and Total Variable Costs of $90,000 last...
-
Smiling Elephant, Inc., has an issue of preferred stockoutstanding that pays a $5.60 dividend every year, inperpetuity. If this issue currently sells for $80.40 per share, what is therequired return?...
-
A sprinkler head malfunctions at midfield in an NFL football field. The puddle of water forms a circular pattern around the sprinkler head with a radius in yards that grows as a function of time, in...
-
The formula for changing the base of a logarithm is: logaN = logbN/logba (a) Use MATLAB's function log (x) to calculate log4 0.085. (b) Use MATLAB's function logl0 (x) to calculate log61500.
-
A scale is made of two springs, as shown in the figure. The springs are nonlinear such that the force they apply is given by FS = K1u + K2u3, where the K's are constants and u = L - L0 is the...
-
The speed of a race car during the first seven seconds of a race is given by: Determine the distance the car traveled during the first six seconds. 4 v (mi/h)0 14 399 95 114 129 139
-
On the Internet, locate "Corruption and Related Matters: An Annotated Bibliography" by the Independent Commission Against Corruption, especially the Chapters on White Collar Crime and Workplace...
-
Go to the AICPA's Antifraud Resource Center and search for forensic accounting topics. Read some of the material listed. Search for material dealing with litigation support. What type of forensic...
-
Go to the Association of Certified Fraud Examiners web site and locate the 2008 Report to the Nation on Occupational Fraud and Abuse (The 2008 Wells Report). a. The cases in this study generated...
Study smarter with the SolutionInn App