Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- int main(){
- int x,y;
- int ilosc;
- printf("Podaj wielkosc tabliczki mnozenia: \n");
- scanf("%i",&ilosc);
- printf("%5c", ' ');
- for(x=1;x<=ilosc;x++)
- printf("%5d", x);
- for(x=1;x<=ilosc;x++)
- {
- printf("\n%5d", x);
- for (y=1;y<=ilosc;y++)
- {
- printf("%5d", y*x);
- }
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement