fork download
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3.  
  4. int main()
  5. {
  6. int object;
  7. int quanity;
  8. int money;
  9. int tax;
  10.  
  11. printf("Write a object name ( max words - 10) ");
  12. scanf("%10s",object);
  13. printf("%s",object);
  14.  
  15.  
  16. return 0;
  17. }
  18.  
Success #stdin #stdout 0s 2164KB
stdin
Standard input is empty
stdout
Write a object name ( max words - 10) (null)