Autotools incoporated
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
#include <stdio.h>
|
||||
|
||||
#define LOWER 0 /* lower limit of table */
|
||||
#define UPPER 300 /* upper limit */
|
||||
#define STEP 20 /* step size */
|
||||
|
||||
/* print Fahrenheit-Celsius table */
|
||||
|
||||
int
|
||||
main ( ) {
|
||||
|
||||
int fahr;
|
||||
|
||||
for ( fahr = LOWER; fahr <= UPPER; fahr = fahr + STEP )
|
||||
printf ( "%3d %6.1f\n", fahr, ( 5.0 / 9.0 ) * ( fahr - 32 ) );
|
||||
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user