learnprogramming123

LEARN PROGRAMMING 123
your resources to programming and free tutition



Navigation

 
C
 
C++ soon here!
VB - soon here!

Search

 

 

 

 

Next Back

 

1.    Use a while loop to print the integer values 1 to 10 on the screen.

 12345678910

2.    Use a nested while loop to reproduce the following output

1
22
333
4444
55555

3.    Use an if statement to compare the value of an integer called sum against the alue of 65, and if it is less, print the         text string "Sorry, try again"

4.    If total is equal to the variable good_guess, print the value of total, else print the value of good_guess.

go to lesson 10

Q. What do you say to a blonde with no arms or legs?
A. "Nice tits!"


 






1