xxxxxxxxxx
//Create a program that will accept a real estate value and compute for the real estate tax
//and print that will meet the following conditions
#include<stdio.h>
main()
{
float rev,ret;
printf("\nEnter real estate value: ");
scanf("%f",&rev);
if(rev>500000.00)
{
ret=rev*0.15;
printf("\nThe real state tax is: %f\n",ret);
}
else if(rev>=250001.00&&rev<=500000.00)
{
ret=rev*0.10;
printf("\nThe real state tax is: %f\n",ret);
}
else if(rev<250001.00)
{
ret=rev*0.05;
printf("\nThe real state tax is: %f\n",ret);
}
}