mirror of
https://github.com/RevCurtisP/C02.git
synced 2024-12-01 14:51:52 +00:00
21 lines
457 B
Plaintext
21 lines
457 B
Plaintext
|
/******************************************
|
||
|
* FORFORPF - Test Nested FOR with PRINTF *
|
||
|
******************************************/
|
||
|
|
||
|
//Specify System Header using -H option
|
||
|
#include <stddef.h02>
|
||
|
#include <stdlib.h02>
|
||
|
#include <stdio.h02>
|
||
|
#include <stdiox.h02>
|
||
|
|
||
|
char i,j,result;
|
||
|
main:
|
||
|
for (i=0;i<5;i++) {
|
||
|
for (j=0;j<5;j++) {
|
||
|
result=div(mult(mult(i,5)+j,3),5)+32; //(i*5+j)*3/5+32;
|
||
|
printf(result,"%d ");
|
||
|
}
|
||
|
newlin();
|
||
|
}
|
||
|
goto exit;
|