CONDITIONAL STATEMENTS: There will be two solutions for the following problem first is IF statement and second is SWITCH CASE.
1. Write a program that determines if the input letter is a VOWEL or CONSONANT. The vowels are: A E I O U. Your program must be able to handle a capital or small input letter.
2. Write a program that accepts dates written in numerical form and then output them as a complete form. For example, the input:
2 26 1986
Should produce the output: February 26, 1986
3. Write a program that examines the value of a variable call temp. then display the following messages, depending on the value assigned to temp.
Temperature Message
Less than 0 ICE
Between 0 and 100 WATER
Exceeds 100 STEAM
Numbers and figures are an essential part of our world, necessary for almost everything we do every day. As important…
APPROVED BY CLIENTS
"assignmentexpert.com" is professional group of people in Math subjects! They did assignments in very high level of mathematical modelling in the best quality. Thanks a lot
Comments
Leave a comment