Guest User

Untitled

a guest
Nov 21st, 2018
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5. int main()
  6. {
  7. int tabla = 12;
  8. int limite = 12;
  9. int contador = 1;
  10. int operacion = 0;
  11. cout << "tabla de multiplicar" << endl;
  12.  
  13. while(contador <= limite){
  14.  
  15. operacion = tabla * contador;
  16. cout << tabla <<" * " <<contador <<" = " << operacion << endl;
  17. contador = contador + 1;
  18. }
  19.  
  20. return 0;
  21. }
Add Comment
Please, Sign In to add comment