C++ Examples


  • Take two numbers a and b from user and swap the value of “a” to “b” and the value of “b” to “a” solution
  • Take three numbers from user and find the highest Number between them and show result on screen (use if statement) solution
  • Take a Number from user and Show its table on screen up to 10.  (Use for loop) solution
  • Take a number from user and show 1's on screen such that the number of ‘1’ on screen=Number enter by user. (Use nested for loop) solution
  • Write down a program which has some value in it and asks the user to enter any number if number is there then it show message “U won the game” otherwise it say “U loss” and give user a chance to play it again at least 3 time. solution 
  • No comments:

    Post a Comment