Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <math.h>
- int main()
- {
- double b, n, s1, s2, t;
- printf("\tSkriv in din brutto inkomst\n\t");
- scanf("%lf", &b);
- s1 = 0.3;
- s2 = 0.5;
- t = 204000;
- if (b <= t){
- printf("\tDin netto รคr: %lf \n" , b-b*s1);
- }
- else (b > t); {
- printf("\tDin netto รคr: %lf \n" , b - (t * s1 + (b - t) * s2));
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement