daily pastebin goal
54%
SHARE
TWEET

Untitled

a guest Apr 16th, 2018 55 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5. int main()
  6. {
  7.     int k = 1, n, s = 0;
  8.     cin >> n;
  9.     while ( k <= n )
  10.     {
  11.         s = 4 * k + 3;
  12.         cout << s << endl;;
  13.         k++;
  14.         }
  15.  
  16.     return 0;
  17. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top