Graderpractice for programmers

254271 Fun (2562 Sec 2) - Weeks 4-5

Awaiting submission
Write a program that reads in 2 numbers and only prints the smallest number.
Awaiting submission
Write a program that reads in 1 line of input and if it contains less than 8 characters then it repeats it 3 times, else only 2 times.
Write a program that reads in 3 numbers and outputs them sorted in smallest to largest order.
Awaiting submission
Write a program that reads in 3 words and outputs them sorted by their number of letters (smallest to largest).
Awaiting submission
Write a program that prints "hello world" 20 times. Use a loop.
Awaiting submission
Write a program that reads in a number and prints out "phet" followed by "mahk" repeated that number of times.
Awaiting submission
Write a program that prints out 0 x 3 = 0, 1 x 3 = 3, up to 3 x 20 = 60. Use a loop.
Awaiting submission
Write a program that reads in a number and prints out all the numbers between it and 100.
Awaiting submission
Write a program that reads in 1 line of text and then a number x. It should print out the text x times.
Awaiting submission
Write a program that reads in 3 numbers. The 1st number is the starting number. The 2nd number is the increment. The 3rd number is number of times.