fork(1) download
  1. #include <stdio.h>
  2. main()
  3. {
  4. int hour;
  5. float salary,bonus,netsalary;
  6. char name;
  7. printf("Name : "); scanf("%s",&name);
  8. printf("Hour : "); scanf("%d",&hour);
  9. salary=hour*80;
  10. printf("salary %d",salary);
  11. }
Success #stdin #stdout 0s 5280KB
stdin
Vasa 3 5
stdout
Name  :  Hour  :  salary 1973257616