EmmettMilligan

For Loop Exercise(C++)

Nov 6th, 2019
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.15 KB | None | 0 0
  1. int sean;
  2. cout<<"Please enter a number:";
  3. cin>>sean;
  4. int counter;
  5. for(counter=0;counter<=sean;counter++){
  6. cout<<sean-(sean-counter)<<endl;
Add Comment
Please, Sign In to add comment