fork download
  1. #include<stdio.h>
  2. #include<locale.h>
  3.  
  4. int main(void)
  5. {
  6. setlocale(LC_ALL,"portuguese");
  7. float valBruto, valLiquido;
  8. int diasDeTrabalho;
  9.  
  10. valBruto = diasDeTrabalho * 30;
  11. valLiquido = valBruto * 0.92;
  12.  
  13. printf("%.4f\n",valLiquido);
  14.  
  15. return 0;
  16. }
Success #stdin #stdout 0s 5304KB
stdin
Standard input is empty
stdout
0.0000