Write the output from the following C program
#include
int main()
{
int i;
for (i=1; i<=10; i++)
{
if (((i%2)==0))
{
printf (“%d”, i);
printf (“squared is %d \n”, (i*i));
}
else
{
printf(“%d”, i);
printf(“is an old number \n”);
}
}
return 0;
}
 Viewed: 650 times For Better experience and learning,for video answers, after video ends playing, click next question in the questions list!!!