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';
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';
Comments
Leave a comment