plzz answer the question.....
Attachments:
Answers
Answered by
1
l am writing only the body part of the program.
int n ;
double s=0.0,t=0.0;
if ( n >=0 && n<=999)
{
s = (15 * n )/100;
t=n-s;
}
if (n >= 1000&n <=3999)
{
s = (18*n)/100;
t= n-s;
}
if(n>=4000 & n<= 6999)
{
s = (20*n)/100;
t= n-s;
}
if( n>= 7000)
{
s = (25*n)/100;
t=n-s;
}
Styengun:
hey something wrong is happening. .i am writing one and something else is getting posted
Similar questions