Ask Question

Name:
Title:
Your Question:

Answer Question

Name:
Your Answer:
User Submitted Source Code!


Description:
  مبانی1
Language: C/C++
Code:
#include <stdio.h>
intmain(void)
{
     int salary;
     printf("please enter salary");
     scanf("%d",&salary);
     if(salary>700000)
     printf("tax=30%");
     else
     if(salary>400000)
     printf("tax=20%");
     else
     if(salary>100000)
     printf("tax=10%");
     else
     if(salary<=100000)
     printf("no tax");
     return 0;
}
          
Comments: