Languages

1. Any
2. PHP
3. C#
4. JavaScript

Language: Any

41. Create a for loop to run 35 times, but display the counter variable in front of the numbers. Generate 3 random numbers 1-25 in each iteration of the for loop. See more

20. Collect 10 numbers from the user. Report back if the numbers are odd or even. Then tell the count of how many each of odd and even numbers. See more

21. You can determine where a year is a leap year if the year is divisible by 4. However, years that are also divisible by 100 are not leap years unless they are also divisible by 400, in which they are leap years. Write the psuedocode to determine for a year entered to be a standard year or a leap year. You should be able to repeat the entering of years as long as 0000 is not entered. See more

31. Collect 40 numbers into an array. Using 10 rounds of 4 numbers, complete the following on the 4 numbers. Add the first and second together, then divide by the third and multiple by the fourth. Show each formula with its answer showing like this: (first + second) / third * fourth = answer See more

33. Fill an array of random numbers 1-2500. You should have 25 numbers. What was the largest number rolled? See more

35. Create an OOP version of the number guessing game. See more

36. Create a OOP version of Rock, Paper Scissors. See more

37. One Line Madlib!
Create an array for 3 stings. Enter in a future tense verb and 2 nouns. Output the collected items in the proper place in the sentence below. And, now Your Highness, we will (future tense verb) the (noun) of your hidden Rebel (noun). See more

40. Create a while loop that generates 100 random numbers. Only run the loop 50 times. See more

3. Create a loop that rolls a six sided die 50 times. Using an array, count how many times each side is rolled. Display the results. Variation: Create a loop that rolls a 20 sided die 500 times. Using an array, count how many times each side is rolled. Display the results. See more

42. Create a 0 player rock paper scissors game. Why 0 players? Make the computer play against itself. Run the process 3 times. See more

43. Create a function that accepts a future date and returns how long it is until that date. For instance, how many days until your next birthday. See more

22. Collect 10 temperatures in an array. Then determine in output if the temps are hot (<90), warm (68-89), cool (67-40), or cold (<39). As part of the output, show the Celsius value as part of the output. Celsius formula to convert from Fahrenheit: C = (F - 32) * (5/9) See more

45. Create a brute force algorithm that breaks into a 3 digit pad lock. See more

46. Enter a max number and then complete the sum from 1 to max. See more

47. Create a program that accepts information from the user about bugs in the system. Think of the system as a generic software program and this is an overly simple process to report bugs. See more

48. Create a system where 2 bots battle each other using 0-6 for the attack. take turns and make sure you record the attacks and change the HP. See more

32. One Line Madlib!
Create an array for 3 stings. Enter in 2 nouns and a verb and then output the collected items in the proper place in the sentence below. I am a (noun) not because I do not have a (noun), but because I (verb) to have many! See more

24. Create a function that asks a user for their name then display a welcome message. See more

2. Put numbers 15 to 1 in array. Display the number as well as the squared and cubed value. See more

4. Write a script that adds the odd numbers from 7-37. Display the total. See more

5. In a while loop, get numbers from the user until "end" is entered. Add the numbers together and display the sum. See more

6. Write a program that will give you the total calories based upon entered fat, protein and carbohydrates grams. The calories of each gram are as follows: fat is 9, protein is 4, and carbohydrate is 4. See more

1. Get 3 numbers from the user. Add the 3 numbers and hold the answer. Multiply the 3 numbers and hold the answer. Display all the numbers! See more

9. Fill an array of random numbers 1-100 of 25. Sort the array from smallest to largest numbers See more

11. Write a while loop that adds the numbers 10-100 together. Increment your counter by 10. Display the resulting sum. See more

23. Create a recursion based solution for factorials. See more

10. Fill an array with random numbers. Display the array. Output the average of all the numbers. See more

25. Create a function that asks a user for a number. Generate that number of random numbers. Write the numbers to the screen. See more

26. Create a function called petsName. In the function, ask for the user's pet's name into the variable petname and ask what kind of pet it is into the variable petkind. Output "You have a petname that is a petkind." See more

12. Create a class that would hold game scores for a two player game. Then create the object with starting values and display all the scores. See more

13. Use this formula as a guideline for the following problems:
seconds in a week = number seconds in a minute * number of minutes in a hour * the number of hours in a day * number of days in a week Output all the variables.
  1. How many seconds are in a week?
  2. How many seconds are there in a year?
  3. If your birthday is 33 days away, how many minutes to you need to wait?
  4. If your birthday is 42 days away, how many seconds do you need to wait?
  5. If your birthday is 342 days away, how many minutes has it been since your last birthday?
HINT: you will need to do the formula in steps! See more

14. Find all the prime numbers between 1 and 100. Use a loop to find them. See more

19. Ask the user for a math type (+,-,/,*,%) and two numbers. Use a switch statement to get the results of the math. See more

17. Collect 2 numbers from the user. Then complete the following tasks and show the values at each step.
  1. Add the two numbers together
  2. Multiply each of the numbers by 3
  3. Add 1000 to each number then divide each number by 4, divide again by 10 and divide again by 5
  4. Multiply each number by 0.087 and then multiply each number again by 0.27961
  5. Complete the math: num1 + 7.854*/32*87.58647/-36.54+num2/6.546+19.8/56.4
See more

18. Collect two numbers from the user. Display the larger of the two numbers and then display a message if the numbers are equal. See more