c03_ps02_fall03

# c03_ps02_fall03 - c Display weight_in_kg” kg =...

This preview shows page 1. Sign up to view the full content.

UNIFIED ENGINEERING Fall 2003 I. Kristina Lundqvist Problem C3. (Unified Computers and programming) 1. Compile Program 3.8 (Distance_With_Errors.adb, Feldman-Koffman, Page 107) into a listing file. Turn in a hard copy of the listing file. 2. Correct the errors in Program 3.8. Turn in a hard copy of the listing of the modified program and an electronic copy of your code. 3. Write an algorithm to a. Accept the weight of the user (in kilograms) b. Compute the equivalent weight in pounds
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: c. Display weight_in_kg” kg = “weight_in_pounds” lb where weight_in_kg is the entered value and weight_in_pounds is the computed value. Hint : I. ± Write down the mathematical formula that you would use. The algorithm will flow from that. II. ± Identify inputs and outputs III. 1 pound = 0.453592 kilograms. 4. ± Write an Ada95 program to implement your algorithm from question 3 above. Turn in a hard copy of your program listing and an electronic copy of your code....
View Full Document

{[ snackBarMessage ]}

### What students are saying

• 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.

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

• 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.

Dana University of Pennsylvania ‘17, Course Hero Intern

• 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.

Jill Tulane University ‘16, Course Hero Intern