Advertisement
a53

afisare_M2

a53
Dec 30th, 2021
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. #include<iostream>
  2. using namespace std;
  3.  
  4. int main()
  5. {
  6. int a,b;
  7. cin>>a>>b;
  8. int M=0;
  9. for(int i=1;i<=b;++i)
  10. M+=a,cout<<M<<' ';
  11. return 0;
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement