Give meaningful identifiers for the following variables and write a proper C++ declaration and initialization to a reasonable value. a. A variable to store the letter grade, (A, B, C, D, or F).b. A variable to store the sales tax price of an item.c. A variable to store the number of juice bottles sold.d. A variable to store the billing amount of a doctor’s visit.e. A variable to store the grade point average (GPA).

C++ for Engineers and Scientists
4th Edition
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Bronson, Gary J.
Chapter4: Selection Structures
Section4.5: A Case Study: Solving Quadratic Equations
Problem 7E
icon
Related questions
Question

Give meaningful identifiers for the following variables and write a proper C++ declaration and initialization to a reasonable value. 
a. A variable to store the letter grade, (A, B, C, D, or F).
b. A variable to store the sales tax price of an item.
c. A variable to store the number of juice bottles sold.
d. A variable to store the billing amount of a doctor’s visit.
e. A variable to store the grade point average (GPA).

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 5 steps

Blurred answer
Knowledge Booster
Datatypes
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