Created
November 17, 2018 08:15
-
-
Save rkhang7/80fa559fce56783fb642d080ac853542 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
// tinh luong sau thue | |
#include <stdio.h> | |
#include <conio.h> | |
int main() | |
{ | |
double n; | |
printf("Nhap luong truoc thue(trieu): ");scanf("%lf",&n); | |
if(n<7) | |
{ | |
printf("Luong sau thue la(trieu) %lf",1.0*(n-0.11*n)); | |
} | |
else if(n<15) | |
{ | |
printf("Luong sau thue la(trieu) %lf",1.0*(n-0.21*n)); | |
} | |
else if(n==15) printf("Luong sau thue la(trieu) %lf",1.0*(n-0.35*n)); | |
getch(); | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment