Create a program that calculates the amount of tax on the salaries in the range of 5000 at the tax rate of 1 .5% | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Create a program that calculates the amount of tax on the salaries in the range of 5000 at the tax rate of 1 .5%

7th Jan 2021, 9:50 AM
Elvis Mburu
Elvis Mburu - avatar
4 Answers
+ 2
Tax is not calculated using factorial.
7th Jan 2021, 10:48 AM
Sonic
Sonic - avatar
+ 1
#include<stdio.h int data(int num); int main() { int x=5; printf("The factorial of %d is %d",x,data(x)); Return(0); } if num(==1) return (1); else return(num -1); } }
7th Jan 2021, 10:08 AM
Elvis Mburu
Elvis Mburu - avatar
+ 1
Think about how you would calculate the percentage of an amount.
7th Jan 2021, 10:50 AM
Sonic
Sonic - avatar
+ 1
Okay let me see
7th Jan 2021, 10:51 AM
Elvis Mburu
Elvis Mburu - avatar