PRG/211 PRG211 PRG 211 WEEK 3 DISCUSSION 4

PRG 211 WEEK 3 DISCUSSION 4

Supporting Activity: Visual Logic Exercise - Selection

Supporting Activity: Visual Logic Exercise - Selection

Exercise 2-2 from the Guide to Working with Visual Logic eBook using selection (if-else logic):

 

2-2. All's Well That Ends Well. Write a program that inputs a number between 1 and 10 and displays the number with the appropriate two-letter ending (e.g., 1st, 2nd, 3rd, 4th, 5th, . . . ).

 

Answer Detail

Get This Answer

Invite Tutor