STUDYSHIELDS ASSIGNMENT HELP

  • Home
  • Blog
  • Courses
    • Child Category 1
    • Child Category 2
    • Child Category 3
    • Child Category 4
  • Services
  • Country
    • Childcare
    • Doctors
  • Home
  • Blog
  • Sample Works
  • Order Now

Tuesday, February 9, 2021

Computer Science C++

 February 09, 2021     No comments   

 Assignment 2 tests your knowledge of basic C++ concepts (Chapters 2). For the assignment you are going to develop a specific C++ program called YourName-Assignment2 (replace YourName with your actual name, no spaces) that implements the solution/flowchart for the problem from Assignment 1 in C++. The program should have the following exact/precise steps (should be in this order) and the variable names, messages, computation messages should be exact/as requested): 1. Output a message “Enter a Number: ” that asks the user to enter a number. 2. Input a value from the user into a floating-point variable called Number. This can be any number the user wants; do not hardcode a value. 3. Compute the area of the square with the side Number and store it in a floating-point variable called AreaSquare1. This should work on any number the user entered into variable Number, do not hardcode it. 4. Compute the area of the square with the side 2*Number and store it in a floating-point variable called AreaSquare2. This should work on any number the user entered into variable Number, do not hardcode it. 5. Compute the area of the square with the side 3*Number and store it in a floating-point variable called AreaSquare3. This should work on any number the user entered into variable Number, do not hardcode it. 6. Output the message “Here are the areas of the squares: “ and move to a new line. 7. Output a message “Area of the square with side Number: “ . 8. Output the value from the variable AreaSquare1 and move to a new line. 9. Output a message “Area of the square with side 2*Number: “. 10. Output the value from the variable AreaSquare2 and move to a new line. 11. Output a message “Area of the square with side 3*Number: “. 12. Output the value from the variable AreaSquare3 and move to a new line. For example, if the user enters 3 for the Number, the output should look like this: Enter a Number: 3 Here are the areas of the squares: Area of the square with side Number: 9 Area of the square with side 2*Number: 36 Area of the square with side 3*Number: 81 

  • Share This:  
  •  Facebook
  •  Twitter
  •  Google+
  •  Stumble
  •  Digg
Email ThisBlogThis!Share to XShare to Facebook
Newer Post Older Post Home

0 comments:

Post a Comment

Click Here to Place order

Popular Posts

  • A “criminal minds” Aileen Wournos individual will be your “patient”
     A “criminal minds” Aileen Wournos individual will be your “patient”  A brief history of the patient including diagnoses (documented or your...
  • CEO Jane Lionel has some hard decisions to make with regard to some of the company’
     CEO Jane Lionel has some hard decisions to make with regard to some of the company’solder hands, and even on the eve of that decision, I be...
  • Problem in Supply Chain
    Problem in Supply Chain Problem 2. (Chapter 11: The Storage and Handling System) Compare the constrast private ownership of storage space to...

Recent Posts

Unordered List

Pages

  • Home

Text Widget

Blog Archive

  • November 2022 (20)
  • October 2022 (50)
  • September 2022 (119)
  • August 2022 (107)
  • February 2022 (501)
  • January 2022 (443)
  • December 2021 (488)
  • November 2021 (1574)
  • October 2021 (28)
  • September 2021 (11)
  • July 2021 (8)
  • June 2021 (15)
  • May 2021 (39)
  • April 2021 (15)
  • March 2021 (303)
  • February 2021 (712)
  • January 2021 (903)
  • December 2020 (2)
  • September 2020 (33)
  • April 2016 (5183)
  • March 2016 (3763)
  • February 2016 (4356)
  • January 2016 (1749)
  • December 2015 (22)
  • November 2015 (147)
  • October 2015 (23)

Sample Text

Copyright © STUDYSHIELDS ASSIGNMENT HELP | Powered by Blogger
Design by Hardeep Asrani | Blogger Theme by NewBloggerThemes.com | Distributed By Gooyaabi Templates