pa3 - COP 3275 Programming Using C Language Fall 2011...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
COP 3275 Programming Using C Language Fall 2011, Programming Assignment #3 Yi Wang Radhika Medury Min Chen [email protected] [email protected] [email protected] Due Date: Wed. Nov. 2nd, 2011 @ 12:00pm (noon) NO Late submission is accepted! Problem description: Write a program that asks the user for a two-digit number, then prints the English word for the number: Enter a two-digit number: 45 You entered the number forty-five . Hint: Break the number into two digits. Use one switch statement to print the word for the first digit (“twenty,” “thirty,” and so forth). Use a second switch statement to print the word for the second digit. Don’t forget that the numbers between 11 and 19 require special treatment. Some reminders: ● The sign “-” between two English words should not be omitted. ● You do need to write some key comments to make you program readable, but you should not write comments for every line. ● Just send us the best program you have coded.
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 11/30/2011 for the course COP 3275 taught by Professor Jonathanliu during the Fall '11 term at University of Florida.

Page1 / 2

pa3 - COP 3275 Programming Using C Language Fall 2011...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online