using 1 Class & 2 Methods
C-F F = (1.8*C)+32
F-C C = .556*( F-32)
Requirements:
if user types/press C
The Program should Compute for Celsius
if user types/press F
The Program should Compute for Fahrenheit
if not C or F
The Program should display the Student's Name (your name)
Sample layout (1):
Enter Conversation: F {enter}
Enter Value for C : 38 {enter}
Conversation is :_____
Sample layout (2):
Enter Conversation: C {enter}
Enter Value for F : 38 {enter}
Conversation is :_____
Sample layout (3):
Enter Conversation: A {enter}
Enter Value for F : 38 {enter}
Programmed by : eonzerimar
No comments:
Post a Comment