Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- /* void main() {
- int x,y;
- for(x=1; x<=10; x++) {
- for(y=1; y<11; y++) {
- cout << x*y << "\t";
- }
- cout << endl;
- }
- } */
- /* void main() {
- int x,y,z;
- cout << "Do ilu chcesz tabliczkę mnożenia? \n";
- cin >> z;
- for(x=1;x<=z;x++) {
- for(y=1; y<11;y++) {
- cout << x*y << "\t";
- }
- cout << endl;
- }
- } */
- /* void main() {
- int x,y,z,i;
- cout << "Od ilu chcesz tabliczkę mnożenia? \n";
- cin >> i;
- cout << "Do ilu chcesz tabliczkę mnożenia? \n";
- cin >> z;
- cout << endl;
- for(x=i;x<=z; x++) {
- for(y=i; y<=z; y++) {
- cout << x*y << "\t";
- }
- cout << endl;
- }
- } */
- /* void main() {
- int a;
- char zmienna;
- for ( a=1 ; a<=120 ; a++ ) {
- zmienna=a;
- cout << a << " = " << zmienna << endl;
- }
- } */
- void main() {
- int a,b;
- a=0;
- while ( a <= 9 ) {
- a++;
- b=1;
- while ( b <= 10 ) {
- cout << a*b << "\t";
- b++;
- }
- cout << endl;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement