Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<stdio.h>
- int main ()
- {
- int a=10;
- int b=10;
- int i=0;
- int n=0;
- printf("unesite broj");
- scanf("%4d",&n);
- int c;
- printf(" X |");
- for(n=1; n<=10;n++)
- {
- printf("%4d",n);
- }
- printf("\n");
- for(n=1; n<=10;n++)
- {
- printf("%3d |",n);
- for(i=1; i<=10;i++)
- {
- printf("%4d",i * n);
- }
- printf("\n");
- }
- printf("\n");
- return 0;
- }
Add Comment
Please, Sign In to add comment