Advertisement
carsit

Untitled

Aug 29th, 2014
234
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 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;
  9. cout << "inserisci un numero: ";
  10. cin >> a;
  11. if (s) {
  12. for (i= a; i<0; i++){
  13. s= a * i;
  14. cout << s;
  15. }}
  16. return 0;
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement