Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- int main()
- {
- int tabla = 12;
- int limite = 12;
- int contador = 1;
- int operacion = 0;
- cout << "tabla de multiplicar" << endl;
- while(contador <= limite){
- operacion = tabla * contador;
- cout << tabla <<" * " <<contador <<" = " << operacion << endl;
- contador = contador + 1;
- }
- return 0;
- }
Add Comment
Please, Sign In to add comment