







Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!








Door for expected results to go out
Door for requests to go in
Door for unexpected results to go out
Bins for parts and supplies
Various tools
Instructions and operating procedures
Communication with other shops
OUT (stdout)
IN (stdin)
ERROR (stderr)
Constants and variables
Operations and functions
main
Instructions and operating procedures
File and Device Input/Output
int main(void) { int theCheckNbr; char theAccount; char theTaxCode; float theAmount; float theBalance; theBalance = 2391.52; printf("Ck Nbr Acct Tax Amount Balance\n"); printf("------ ---- --- ------ -------\n"); theCheckNbr = 234; theAccount = ‘B'; theTaxCode = ‘Z'; theAmount = 34.56; theBalance = theBalance - theAmount; printf("%6d %2c %2c %6.2f %7.2f\n", theCheckNbr, theAccount, theTaxCode, theAmount, theBalance); return 0; } // End main
Ck Nbr Amount Acct Balance Tax
234 34.56 B 2356.96 Z 235 192.73 T 2164.23 W 236 75.00 G 2089.23 X