1
0
mirror of https://github.com/RevCurtisP/C02.git synced 2024-11-18 21:07:28 +00:00
C02/test/forforpf.c02

21 lines
457 B
Plaintext
Raw Normal View History

/******************************************
* 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;