1
0
mirror of https://github.com/RevCurtisP/C02.git synced 2024-11-24 15:31:17 +00:00
C02/test/forforpf.c02
2018-08-19 18:24:02 -04:00

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;