Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #define _CRT_SECURE_NO_WARNINGS
- #include <stdio.h>
- int main()
- {
- int initial;
- printf("How much money are there in the account?: ");
- scanf("%d", &initial);
- if (initial < 10000)
- printf("That account will have %0.2f TL next year.", initial*108.0 / 100 - initial*8.0 / 100 * 12.0 / 100);
- else
- printf("That account will have %0.2f TL next year.", initial*109.0 / 100 - initial*9.0 / 100 * 12.0 / 100);
- printf("\n");
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement