Created
May 24, 2016 00:54
-
-
Save joaogui1/c82dec67f196ac59f8c50b22d3a8f20d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include<cstdio> | |
int main(){ | |
char w[256]; | |
double salary,bonus; | |
scanf("%s",w); | |
scanf("%lf",&salary); | |
scanf("%lf",&bonus); | |
printf("TOTAL = R$ %.2lf\n",salary+bonus*0.15); | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment