fork(1) download
  1. #include <stdio.h>
  2. main()
  3. {
  4. int hour=0;
  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 0.01s 5284KB
stdin
Vasa.
10
11
stdout
Name  :  Hour  :  salary 1467676048