A professor has constructed a 3-by-4 two-dimensional array of float numbers. This array currently contains the...

90.2K

Verified Solution

Question

Programming

A professor has constructed a 3-by-4 two-dimensional array offloat numbers. This array currently contains the lab grades, quizgrades and exam grades of three students in the professor’s class.Write a C++ program that calculate the final grade for each studentand save it to the last column. You program should display thefollowingoutput:            Lab    Quiz     Exam      Final    

Student 1         ## ## ## ##

Student 2         ## ## ## ##

Student 3         ## ## ## ##

The final grade consists of 30% lab grade, 30% quiz grade and40% exam. For example, if lab grade is 95, quiz grade is 82 andexam grade is 87, the final grade is equal to 95∗0.3+82∗0.3+87∗0.4.Use random numbers between 40 and 100 for lab, quiz and examgrades.

Answer & Explanation Solved by verified expert
3.6 Ratings (584 Votes)
include using namespace stdint main create an    See Answer
Get Answers to Unlimited Questions

Join us to gain access to millions of questions and expert answers. Enjoy exclusive benefits tailored just for you!

Membership Benefits:
  • Unlimited Question Access with detailed Answers
  • Zin AI - 3 Million Words
  • 10 Dall-E 3 Images
  • 20 Plot Generations
  • Conversation with Dialogue Memory
  • No Ads, Ever!
  • Access to Our Best AI Platform: Flex AI - Your personal assistant for all your inquiries!
Become a Member

Other questions asked by students