Question: 21 If Your lab exercise code begins here 22 int Int1 =3, Int 2=7; 23 double Db11 =6,89,Db12=5.22; 24 string 5 tr1 = He11o, Str2

 21 If Your lab exercise code begins here 22 int Int1

21 If Your lab exercise code begins here 22 int Int1 =3, Int 2=7; 23 double Db11 =6,89,Db12=5.22; 24 string 5 tr1 = "He11o", Str2 =" "Good Bye"; 25 char Charl = ' 'Z', Char2 = ' A; 26 cout c "Int1 is " ; 27 cout "Dbl1 is " Dbl1 " "; 28 cout s "Str1 is " Str1 int Int 2 " ln"; 32. // ADD cODE to display value of 0612 with new-line X 33 cout \& double Db12 e "In"; 34 I/ ADO CODE to display value of Str2 with a new line 35 cout ks string Str2 \& " In"; 36. II ADO COOE to display value of Char2 wih a new line X 37 cout \& char Char2 c "In"; f/ Your 1 ab exercise code ends here Link to this code: C [cony] main.cpp: 31:13: error: expected " (" for function-style cast on type construction cout int Int 2" " ln" pain.cpp:33:16: erron: expected '(" for function-style cast or type construction cout double Db12 " " ; main,cpp: 35:9; errory unexpected type name 'string' : expected expression cout string str2" " n"; main.cpps351151 error: expected 'y' after expression cout sk string stre s "\o

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!