Question: int mainc oate at least two syntax errors in the code fragment. (2 marks) include iostream> int main()? 2.08; int n do fcout # 0):

 int mainc oate at least two syntax errors in the code

int mainc oate at least two syntax errors in the code fragment. (2 marks) include iostream> int main()? 2.08; int n do fcout # 0): while (m> 3) { cin mark) . Write C++statements that include the header . LO streams, and cin, cout, antd endl. b. Write C++ statements that declare the Csaements that include the header n namesfaic sLd folowing variables: num1, num2, num3, and average of type int. numl, 28 into num2, and -25 into num3 and store them into average int num int num) int h4n2. cWrite C+statements that store 125 into Write C++ statements that output the values of numl, num2, num3, and average. d. anda message sying whether the mumber is positive, sing names negative, or zero.? (2 mark). O2: Write C+ program to ask the user to input ainclude c iostren number. The program should then output the number pce std Veld main int number Coutenter mumiber" in umber 15 Cnumber c 20

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!