Counting in Java

Hi,
I need ur help regarding to do this program in java....i need to do program where user can input any number n this program will count until reach 100...if reach then the program will print out :---bla bla bla.....if not user can keep input the integer..how to to?...i'm dizzy right now...

Ok ...what i'm want to do is....the user can input any value but must be below than 100....let say user input no :1,after that that user still can input value until reach 100...that mean 1 + ...+ ...+....+..= < 100...if reach 100 the the program will tell " U enter more then 100'///.....can u help me please...i noob in java..tq

use your while statement,1) place your question to promt the user for a input inside the while statement, 2) you need a conditional statement inside your while aswell i.e an "if" statement to ensure that the user has entered a number below 100, if the condition is met you sum the entered number with the previous ones entered(you'll probably need an extra int variable to hold the summed value).3) if the while end tel the user that he passed 100 or whatever you want to. Use what you've got thus far, your not that far off from a solution.