Advertisement
RapixRapi

AfisareNumere

Nov 21st, 2019
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.14 KB | None | 0 0
  1. #include <iostream>
  2. using namespace std;
  3. int main()
  4. {
  5.     int n,i;
  6.     cin>>n;
  7.     for(i=1;i<=n;i++)
  8.         cout<<i<<" ";
  9.     return 0;
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement