Advertisement
Avdluna

URI 1008

May 17th, 2015
258
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.29 KB | None | 0 0
  1. #include <stdio.h>
  2.  
  3. int main() {
  4.  
  5.     int funcionario,horas;
  6.    float salario,x;
  7.    
  8.    scanf("%d %d %f", &funcionario,&horas,&salario);
  9.    
  10.    
  11.    x = horas*salario;
  12.    
  13.    printf("NUMBER = %d\n",funcionario);
  14.  
  15.     printf("SALARY = U$ %.2f\n",x);
  16.  
  17.  
  18.     return 0;
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement