So I wrote this code in C to print the ASCII table, but I was told to use SML for this specific task
Here is my current code in C:
// Program to print ASCII table.
#include <stdio.h>
int main()
{
unsigned char count;
for(count=32; count< 255; count+=1)
{
printf(" %3d - %c",count,count);
if(count % 6==0)
printf("\n");
}
return 0;
}
How would I go about doing this in SML? I scoured the internet but with no luck!