Jump to content

MrObvious

Members
  • Posts

    1
  • Joined

  • Last visited

Everything posted by MrObvious

  1. So im having a problem at highschool, we have to complete an assignment - make programs for our exercises. The problem is our professor didnt quite explain how everything works with the For and If statement together. I have 3 exercises, ill write down the instructions for them and i would appreciate if anyone could help me out. 1st exercise: Write a program: Program allows you to input 20 numbers, then it shows the sum of numbers that were able to be divided by number 3 (not counting numbers such as 0.9 etc., only full numbers like 3,6,9 etc.) 2nd exercise: Write a program: Out of X (undenefined number) numbers, write down how many out of there are bigger then number 50 3rd exercise: Write a program: Write a program, that will calculate the between number a and number b ---------------------------------------------------------------------------------------------------------------------------------- All of those exercises have to use only FOR and IF Thanks for the reply anyone that can help would mean a lot
×
×
  • Create New...