Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~922 People Reached
Favorite Forums
Favorite Tags
c x 2
Member Avatar for Jcastillo2010

Hey, I was wondering how to have Fscanf loop and do multiple calculations for 4 different employee numbers with 4 different hours and 4 different pay rates. [CODE] #include <stdio.h> double pay_calc (double hours_worked, double pay_rate) { double tax,gross_pay,net_pay; gross_pay = hours_worked * pay_rate; if (hours_worked > 40) gross_pay = …

Member Avatar for redmaiev04
0
752
Member Avatar for Jcastillo2010

(Linux)I am trying to use this code: /* *Converts pounds to kilograms. */ #include <studio.h> /* printf, scanf,definitions*/ #define KG_PER_POUND .4536 /*conversion constant */ int main(void) { double pounds, /* input - weight in pounds. */ kg; /*output - weight in kilograms */ /* Get the weight in pounds. */ …

Member Avatar for Trentacle
0
170