Question: I'm having a difficult time to get my code result plane to look like my teachers result pane, John dow name(); 1f Your lab exercise

name(); 1f Your lab exercise code begins here int Int1 =3, Int2 =7 double Db11 =6.89, Db12 =5.22; string Str1 - "Hello", Str2 = "Good Bye"; char Char1 = 'Z', Char2 . 'A'; cout "Int1, Db11 are " Int1 e " " Db11 " ; cout s "Str1, Char1 are " Str1 " " . Char1 "In"; cout \&c "Int1, Db11, Str1, Char1 are "; cout \& Int1 " - Dbl1 " "; cout Str1 " " Char1 " cos; I/ ADO CODE to display Int2 and 0612 on 5 ame line with new-line cout Int2 - Db125tr2 Char2 "in"; cout cs "Int2, Db12, 5 tr2, Char2 are "; fI ADO CODE to display Int2 and Db12 on sane 1 Ine without new-1ine cout se Int2 s " \&e Dbl2; 11 ADO COOE to display Str2 and Char2 on same Hine with new-1ine cout $ Str. " Char2 " "; 41 If Your lab exercise code ends here 42 . Link to this code: P [cony] My nane is Azzuren Williams The date is 1/23/20230124202301:08 Int1, Db11 are 3.6.89 Str 1 , Char 1 are Hello z Int1, Db11, Str1, Chan 1 are 3.8.89 Hello 2 . 75.22 Good Bye A Int2, Db12, Str2, Char2 are 7.5.22 Good Bye A My name is John Doe The date is 10-20-2022 09:09 Int1, Dbl1 are 36.89 Str1, Char1 are Hello Z Int1, Dbl1, Str1, Char1 are 36.89 Hello Z Int2, Dbl2 are 75.22 Str2, Char2 are Good Bye A Int2, Db12, Str2, Char2 are 75.22 Good Bye A
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
