int main()
{
int i,j,n
scanf("%d",&n)
for(i=1i<=ni++){
for(j=1j<=ij++){
printf("%2d*%2d=%2d ",i,j,i*j)
}
printf("\n")
}
return 0
}
#include <iostream>#include <stdlib.h>
int main()
{
int start = 2000
int end = 3000
int i = 0
for(start=2000start<=endstart++)
{
if((start%4 == 0) &&(start%100 != 0) || (start%400 == 0))
{
printf("%d,",start)
if(i == 9)
{
i=0
printf("\n")
}
else
{
i++
}
}
else
{
}
}
return 0
}
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)