21 lines
269 B
C
21 lines
269 B
C
#include <cs50.h>
|
|
#include <stdio.h>
|
|
|
|
{
|
|
int x = get_int();
|
|
switch(x)
|
|
{
|
|
case 5:
|
|
printf("Five, ");
|
|
case 4:
|
|
printf("Four, ");
|
|
case 3:
|
|
printf("Three, ");
|
|
case 2:
|
|
printf("Two, ");
|
|
case 1:
|
|
printf("One, ");
|
|
default:
|
|
printf("Blast-off!\n");
|
|
}
|