rajamit872

Table of any number using any loop, Recursion(By using goto)

Oct 5th, 2014
207
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.16 KB | None | 0 0
  1. #include<conio.h>
  2. #include<stdio.h>
  3. void main()
  4. {
  5. int i=1,num=2;
  6. clrscr();
  7. hello:
  8. printf("%d*%d=%d\n",num,i,(num*i));
  9. i++;
  10. if(i<=10)
  11. goto hello;
  12. getch();
  13. }
Advertisement
Add Comment
Please, Sign In to add comment