C++ Spring HW2 - Introduction to Engineering I Spring 2016...

Info icon This preview shows pages 1–2. Sign up to view the full content.

Introduction to Engineering I Spring 2016 C++ Homework Assignment II – 15 Points Due: Sunday March 24 th , 2016 by 11:59pm in Dropbox In this homework assignment you will modify the program you have developed in Homework Assignment 1 by implementing the following: 1. Your program will ask the user to choose to convert from U.S. Standard to Metric Measurements ( Choice 1 ) or to convert from Metric to U.S. Standard Measurements ( Choice 2 ). The program will only perform the chosen operation. 2. The conversions will be: I. Metric to US Standard: a. Centimeters to inches or feet b. Meters to inches or feet II. US Standard to Metric: a. Inches to centimeters or meters b. Feet to centimeters or meters 3. Your program will ask the user to specify how many measurements they will enter to be converted; your program then will prompt for and read as many measurements as specified by the user. The program will then convert and display the converted measurements, their sum, and their average. The results must be clearly labeled with proper units and format (same format as specified in Homework Assignment 1) – See Sample Run below. Note: For modifications 1, 2 and 3 above, when the users enter anything other than: a. 1 or 2 for part 1; b. 1,2,3 or 4 for Part 2; c. Y/y or N/n for part 3; the user will repeatedly receive an error message prompting them to enter a proper value until they have entered a proper value.
Image of page 1

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

Image of page 2
This is the end of the preview. Sign up to access the rest of the document.
  • Fall '15
  • Computer program, Inch

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern