1
0
mirror of https://github.com/RevCurtisP/C02.git synced 2024-11-22 16:34:15 +00:00
C02/py65/forforpf.c02
2018-02-13 19:52:14 -05:00

22 lines
449 B
Plaintext

/******************************************
* FORFORPF - Test Nested FOR with PRINTF *
******************************************/
#include <py65.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;