Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Workshop Features
Bins for parts and supplies Door for expected results to go out A B C D Door for unexpected results to go out
Z
Instructions and operating procedures
Various tools
main
It brings data into the program from the outside world, performs some processing with it, makes some changes to it, and then returns it to the outside world in a different form
Z
Instructions and operating procedures
Data Types
Integers (int) Numbers with decimal points (float) Characters (char) Words and Phrases (ex. char phrase[10]) Tables (ex. int values[10], float matrix[20][30]) Records (ex. struct myRecordType)
Simple Operations
Storage (=) Addition (+) Subtraction (-) Multiplication (*) Division (/) Modulo (%) Comparison (==, !=, <, <=, >, >=)
Conversion of Data:
isalpha, isdigit, tolower, toupper
Math:
sin, cos, tan, sqrt, log, exp
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