Lab One
Lab One
Objective
Recommendations
o Write a comment about the purpose of each program
o Use small case identifier for your variable
o Capitalize first letter of your class identifier
1. Simple message display
Write an application that displays the numbers 1 to 4 on the same line, with each pair of adjacent
numbers separated by one space. Write the program using the following techniques:
Also, display the following information from the Department of Health and Human
Services/National Institutes of Health so the user can evaluate his/her BMI:
4. Currency Calculator
Write a program that reads ETB from user, then calculates and displays its U.S dollar, Euro, and
Rupee equivalent. Use the following rates:
1 U.S dollar = 27.8 ETB
1 Euro = 32.5 ETB
1 ETB= 3 Rupee
5. Modify the above program(4) so that the program will allow you to read the input and display
equivalent conversion without re-running it again!