fork download
  1. #include<stdio.h>
  2. #include<stdlib.h>
  3. int main()
  4.  
  5. {
  6. int Tel;
  7. char Name[30];
  8. char Lineid[30];
  9. printf ("Enter Name : ");
  10. scanf("%s",&Name);
  11. printf ("Enter Tel : ");
  12. scanf("%d",&Tel);
  13. printf ("Enter Line ID : ");
  14. scanf("%s",&Lineid);
  15. system("cls");
  16. printf ("Name : %s\nTel : %d\nLine ID : %s",Name,Tel,Lineid);
  17. scanf("%s",&Lineid);
  18. return 0;
  19. }
Success #stdin #stdout #stderr 0s 5272KB
stdin
Standard input is empty
stdout
Enter Name : Enter Tel : Enter Line ID : Name : �
Tel : 0
Line ID : 
stderr
sh: 1: cls: not found