1. Write a flowchart and C code for a program that does the following: o Declare variables with integer or float datatypes. o Assign the values of three grades (84, 98, 73) to each of the variables o Compute the average of the grades - keep the order of operations in mind o Display the average using an appropriate message o Add a decision that checks to see if the Average grade is greater than or equal to 65, if true display a message that the student passed. o Be sure to add comments throughout your program describing what is happening

C++ for Engineers and Scientists
4th Edition
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Bronson, Gary J.
Chapter5: Repetition Statements
Section5.3: Interactive While Loops
Problem 6E: (Conversion) a. Write a C++ program to convert meters to feet. The program should request the...
icon
Related questions
icon
Concept explainers
Question
Can you make a flowchart for the following image.
1. Write a flowchart and C code for a program that
does the following:
o Declare variables with integer or float
datatypes.
O
o Assign the values of three grades (84, 98,
73) to each of the variables
o
Compute the average of the grades - keep
the order of operations in mind
o
Display the average using an appropriate
message
o
Add a decision that checks to see if the
Average grade is greater than or equal to
65, if true display a message that the
student passed.
o Be sure to add comments throughout your
program describing what is happening
Transcribed Image Text:1. Write a flowchart and C code for a program that does the following: o Declare variables with integer or float datatypes. O o Assign the values of three grades (84, 98, 73) to each of the variables o Compute the average of the grades - keep the order of operations in mind o Display the average using an appropriate message o Add a decision that checks to see if the Average grade is greater than or equal to 65, if true display a message that the student passed. o Be sure to add comments throughout your program describing what is happening
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 5 steps with 3 images

Blurred answer
Knowledge Booster
Operators
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr