Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- void mult( int );
- ///-------------------------------------
- int main()
- {
- int dima = 1;
- printf("true = %d\n", true);
- printf("false = %d\n", false);
- mult(dima);
- printf("-----------\n");
- mult(dima+1);
- printf("-----------\n");
- mult(dima+2);
- printf("-----------\n");
- mult(dima+3);
- printf("-----------\n");
- mult(dima+4);
- printf("-----------\n");
- mult(dima+5);
- printf("-----------\n");
- mult(dima+6);
- printf("-----------\n");
- mult(dima+7);
- printf("-----------\n");
- mult(dima+8);
- printf("-----------\n");
- mult(dima+9);
- }
- ///-------------------------------------
- void mult( int a )
- {
- int i = 1;
- L_01: printf("%i * %2i = %2i\n", a, i, a * i);
- i++;
- if(i < 11) goto L_01;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement