64 765
Assignments Done
99,3%
Successfully Done
In September 2018

Answer to Question #4459 in C++ for Rushab

Question #4459
What would be the correct variable type in which to store the following information?
(a) Your height.
(b) The number of subjects in the BIT course.
(c) The average temperatue for the month of September
(d) Your partner's name.
(e) A status value corresponding to failure or success
Suggest a good variable name for each piece of information you described above, and
provide a sample
declaration/assignment statement for the variable (use correct C++ syntax).
Expert's answer
(a)& Your height.
float my_height;

(b)& The number of subjects in the BIT course.
int subnum;

(c)& The average temperature for the month of September
double average_september_temperature;

(d)& Your partner's name.
char name[50];

(e)& A status value corresponding to failure or success
bool status;

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be first!

Leave a comment

Ask Your question

Submit
Privacy policy Terms and Conditions