C++ Programming

C++ Take an Input and Print the Message “Well Done”

Write a program to input an integer value from keyboard and display on screen “Well done” that many times.


  • Start
  • Read the number of repetition, n.
  • If i<=n goto step 4, else goto step 5.
  • Display WELDONE, goto step 3.
  • End

Source Code



using namespace std;

int main ()


    int i,n;

    cout<<"Enter the number of repetition: ";




            cout<<"WELL DONE"<<endl;







About Author

Tutsmaster.org provides tutorials related to tech and programmings. We are also setting up a community for the users and students.

You may also like

program to find leap year
C++ Programming

C++ Program to Find Leap Year by Using Function

  • March 3, 2016
Write a program to find if the inputted year is a leap year or not by using the concept of