Answer to Question #225482 in C++ for Ash

Question #225482

1. (Modify) Rewrite each of these declaration statements as three separate declarations:

a. int month, day = 30, year;

b. double hours, volt, power = 15.62;

c. double price, amount, taxes;

d. char inKey, ch, choice = 'f';


1
Expert's answer
2021-08-12T16:24:14-0400
    int month;
    int day = 30;
    int year;

    double hours;
    double volt;
    double power = 15.62;

    double price;
    double amount;
    double taxes;

    char inKey;
    char ch;
    char choice = 'f';

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 the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS