SHARE
TWEET

Aumento de salario

Hayjerin Feb 20th, 2019 69 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3.  
  4. int main()
  5. {
  6.     float salario, salariofinal, aumento;
  7.    
  8.     printf("Digite seu salário: ");
  9.     scanf("%f", &salario);
  10.     printf("Digite seu aumento: ");
  11.     scanf("%f", &aumento);
  12.    
  13.     salario= salario + (aumento*salario/100);
  14.    
  15.     printf(" Seu salario agora é: %.2f ", salario);
  16.    
  17.     return 0;
  18. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top