Advertisement
carsit

Untitled

Aug 29th, 2014
238
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. #include <iostream>
  2. #include <string>
  3.  
  4. using namespace std;
  5.  
  6. int main() {
  7. int a;
  8. int i, s, j;
  9. cout << "inserisci un numero: ";
  10. cin >> a;
  11. for(j=0;j<10;j++){
  12. for (i= 1; i<=10; i++){
  13. s= a * i;
  14. cout <<" "<< s;
  15. }cout<< endl;
  16. }
  17. return 0;
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement