#include<stdio.h>
int main()
{
int N,i;
scanf("%d", &N);
for(i=1;i<=N;i++)
{
if(i%2 == 0)
{
printf("%d^%d = %d\n", i, 2, i*i);
}
}
return 0;
}
int main()
{
int N,i;
scanf("%d", &N);
for(i=1;i<=N;i++)
{
if(i%2 == 0)
{
printf("%d^%d = %d\n", i, 2, i*i);
}
}
return 0;
}
Comments
Post a Comment