Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <stdlib.h>
- using namespace std;
- int main(){
- int n = 0, x = 0, f = 0;
- cout << "Qual tabuada voce quer? ";
- cin >> n;
- cout << "Comecando de qual? ";
- cin >> x;
- cout << "Terminando em qual? ";
- cin >> f;
- for(x; x <= f; x++){
- cout << n << " x " << x << " = " << n*x << endl;
- }
- system("pause");
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment