EssayNICE | 24/7 Homework Help

Essaynice Will Help You Write Your Essays and Term Papers

Answered » You can buy a ready-made answer or pick a professional tutor to order an original one.

Assignment help 7624

by | Jun 24, 2023 | Posted Assignments

Directions: You are to write a C++ program that meets the instruction requirements below.

Deliverables:

  • Your C++ source code file. (The file with the .CPP extension). No other files will be accepted.
  • A screenshot of your program running.

Program Instructions:

Consider the following program segment:

 //include statement(s)

//using namespace statement

int main()

{

  //variable declaration

   //executable statements

   //return statement

}

  1. Write a C++ statement that includes the header file iostream.
  2. Write a C++ statement that allows you to use cin, cout, and endl without the prefix std::.
  3. Write C++ statement(s) that declare the following variables: num1, num2, num3, and average of type int.
  4. Write C++ statements that store 125 into num1, 28 into num2, and -25 into num3.
  5. Write a C++ statement that stores the average of num1, num2, and num3, into average.
  6. Write C++ statement(s) that output the values of num1, num2, num3, and average.
  7. Compile and run your program.
  8. Include your name, course as a comment at the top of the program.
  9. Comment each line of the program explaining what lines does.

HOME TO CERTIFIED WRITERS

Why Place An Order With Us?

  • Certified Editors
  • 24/7 Customer Support
  • Profesional Research
  • Easy to Use System Interface
  • Student Friendly Pricing

Have a similar question?

PLAGIRAISM FREE PAPERS

All papers we provide are well-researched, properly formatted and cited.

TOP QUALITY

All papers we provide are well-researched, properly formatted and cited.

HIGHLY SECURED

All papers we provide are well-researched, properly formatted and cited.

Open chat
1
Powered by essaynice
Hello! Welcome to to our whatapp support.
We offer READY solutions, HIGH QUALITY PLAGIARISM FREE essays and term-papers.

We are online and ready to help