Write a c program to implement the function interface below


Problem

Write a C program to implement the function interface below as an External function. Test your solution using the stub program shown below.

void CalculateTaxes(float gross, float deferred,

float *fedtax,

float *statetax,

float *ssitax); //3.5

float CalcFedtax(float gross, float deferred); //3.5.1

float CalcStatetax(float fedtax); //3.5.2

float CalcSSItax(float gross, float deferred); //3.5.3

//Stub Program code

#include

#define ADDR(var) &var

int main(void)

{

float ft, st, ssit;

CalculateTaxes(1000,100,ADDR(ft),ADDR(st),ADDR(ssit);

printf(" FedTax = %8.2f\n",ft);

printf(" StateTax = %8.2f\n",st);

printf(" SSITax = %8.2f\n",ssit);

fflush(stdin);

getchar();

return 0;

Request for Solution File

Ask an Expert for Answer!!
C/C++ Programming: Write a c program to implement the function interface below
Reference No:- TGS02699350

Expected delivery within 24 Hours