I tried to print the multiplication of two 3-digit numbers.
#include <stdio.h>
int main()
{
int x,y;
for(x=100;x<1000;x++)
{
for(y=100;y<1000;y++)
{
printf("%d,",(x*y));
}
}
}
When I put the count up values to little numbers like 110, this generates the correct answer, but when it is put to bigger values like 500, 1000, the answer is wrong.