Archive for 十月, 2012

bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark

Tags: , ,

bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark

Tags: , ,

bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark

Tags: , ,

#include <stdio.h>
int main()
{
    int income, tax;
    printf("Please input income = :");
    scanf("%d", &income);
 
    if (income <= 500000)
    [
       tax = income * 5 /100
    ]
    else if (income <= 1130000)
    [
       tax = income * 12 / 100 _ 35000
    ]
    else if (income <= 2260000)
       tax = income * 20 / 100 _ 125400
    else if (income <= 4230000)
       tax = income * 30 / 100 _ 351400
    else
       tax = income * 40 / 100 _ 774400
 
    printf("Net income = %d, tax = %d \n", income, tax);
    return 0;
}

bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark

Tags: , ,

bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark

Tags: , ,