fork download
  1. #include<stdio.h>
  2. #include<conio.h>
  3.  
  4. void main()
  5. {
  6. int x,y,z;
  7. clrscr(); //to clear the screen
  8. printf(“XtYtZtXY+Z”);
  9.  
  10. for(x=0;x<=1;++x)
  11. for(y=0;y<=1;++y)
  12. for(z=0;z<=1;++z)
  13. {
  14. if(x*y+z==2)
  15. printf(“nn%dt%dt%dt1”,x,y,z);
  16. else
  17. printf(“nn%dt%dt%dt%d”,x,y,z,x*y+z);
  18. }
  19. getch(); //to stop the screen
  20. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.c:2:18: fatal error: conio.h: No such file or directory
 #include<conio.h>
                  ^
compilation terminated.
stdout
Standard output is empty