Please help, will rate. Read two letters, two integers, two decimals, and input
ID: 3610743 • Letter: P
Question
Please help, will rate. Read two letters, two integers, two decimals, and input yourname and your major, and print them out as follows. L y 890 990 67.09 88.98 Name: xxxx. Xxxxx Major: yyyyyyy I know to use Char, int, double, and string. Don't knowhow to put it together. Thx. Please help, will rate. Read two letters, two integers, two decimals, and input yourname and your major, and print them out as follows. L y 890 990 67.09 88.98 Name: xxxx. Xxxxx Major: yyyyyyy I know to use Char, int, double, and string. Don't knowhow to put it together. Thx.Explanation / Answer
please rate - thanks I tried to include as many "features" as possible #include #include using namespace std; int main() {int i,j; char a,b; double c,d; string name,major; couta; coutb; couti; coutj; coutc; coutd; cin.ignore(); //after entering numbers there is "junk" in the buffer that has tobe ignored coutRelated Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.