Ask Question

Name:
Title:
Your Question:

Answer Question

Name:
Your Answer:
User Submitted Source Code!


Description:
  ดรีม
Language: C/C++
Code:
#include <stdio.h>
int main()
{
        float a,b;
     printf("slary:");
     scanf("%i",&a);
        if(a<10,000)
}
                b=a*1.5;
{
 else      if(a>10,001)
}
                 b=a*2;
{
else        if(a>30,001)
}
                b=a*2.5;
{
 else
}
                b=a*3;
printf("%2f bonus",b);


          
Comments: