Question: Exercise 1 : c + + 1 . What would be the correct variable type in which to store the following information ; Explainwhy a

Exercise 1 : c++
1. What would be the correct variable type in which to store the following information ; Explainwhy
a. Your weight
b. Your age
c. Your full name
d. The volume of a water tank
2. Create good variable names for this information.
3 Declare these variables.
4 Declare a constant for pi 3.14159.
5 Declare a float variable and initialize it using your pi constant.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!