120 likes | 133 Views
Showcase your coding skills with 10 engaging problems. From simple programs to complex computations - test your abilities to emerge as the ultimate coding champion!
E N D
Welcome to the Contest Use your skills to solve the problems. You will need to present your code as well as show your program functioning. Remember: Continue to solve the problem until there is a definite winner. Remember:
Problem 1 Create a simple program that prints a String with your name and something about you.
Problem 2 Create a program that prompts the user to enter their name, then print back a creative insult using the user's name.
Problem 3 Create a program that prints the numbers 1 through 20 on the screen. Print the numbers each on a new line.
Problem 4 Create a program that prints a table of values pairing x and √x. Use values 1 through 10 for x. EX. x √x 1 1 2 1.41...
Problem 5 Create a program that reads two variables from the user. Use a method to compute the average of the variables, and print it back to the user.
Problem 6 Create a console based program that prompts the user for the year they were born. If they are under 18 inform them they cannot smoke or drink. If they are between 18 and 20 inform them they can smoke, but not drink. If they are older than 21 remind them not to drink and drive.
Problem 7 Write a console driven program that gives the user three options to choose from, a cat, a dog, and a giraffe. When the user chooses an option, present some information about the animal. Allow the user to return to the main menu, or quit.
Problem 8 Write a program that will create a random number guessing game. The program chooses a random number between 1 and 100 The user is prompted to guess the number. The program informs the user of whether the game number is higher or lower than their guess The program informs the user when they are correct.
Problem 9 90% of Coding is fixing someone's mistakes. Correct the error in another person's Spaceship program.
Problem 10 Find and correct the error in the Pig Latin Program.
Problem 126 painted Llama's all go skydiving. At a rate of 3 every 15 seconds they jump out of a plane going 300mph at 10,000ft. How long would it take for all Llamas to be out of the plane? How far would the plane have traveled in that time? Compute this problem any way you want.