how can i put a multiplication table with 25 x 25 as the last numbers.
my code right now is :
main()
{
int count1,count2,value;
for(count1=1;count1<=25;count1++)
{
for(count2=1;count2<=25;count2++)
{
value=count1*count2;
printf("%3d",value);
}
printf("\n");
}
getch();
clrscr();
}
i need to have 1 -25 on the top appear !. !. with your help.
2007-02-23
17:43:15
·
4 answers
·
asked by
Anonymous
in
Computers & Internet
➔ Programming & Design
yes Alan ,you are right but did you try it . Because
when you run the program, the first line is 2-50 which must be 1-25.
so can you make the first line 1 -25 and the last line 25 -650.
2007-02-23
18:12:22 ·
update #1
BigRez , it still do not show the 1-25 on the first line.Ok , the program must show the multiplication table in the 1st whole screen (with 1-25 in the first line and 25-625 at the last).
2007-02-23
18:53:20 ·
update #2