Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed
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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Oracle 12c SQL

Authors: Joan Casteel

3rd edition

1305251032, 978-1305251038

More Books

Students also viewed these Databases questions

Question

3. Are our bosses always right? If not, what should we do?

Answered: 1 week ago

Question

2. What, according to Sergey, was strange at this meeting?

Answered: 1 week ago