예제 #1
0
int main (void)
{

  float income;
  float tax;


  //
  // Prompt for income
  //
  printf("What is your taxable income? ");
  scanf("%f",&income);


  tax = calculate_tax(income);
  
  //
  // Display the tax
  //
  printf("Total income tax: %.2f \n",tax);

  return (0);

}
int main(void){
	float input;
	printf("Enter incomeable income: $");
	scanf("%f", &input);
	printf("Tax due: $%2.f\n", calculate_tax(input));
}