#include<stdio.h>
#include<stdlib.h>
void line()
{
int i,j;
printf("\n");
for(i=1;i<=42;i++)
printf("=");
}
void header()
{
printf("\n");
printf("Built and Designed by Arslan Malik\n\n www.CworldbyAS.blogspot.com");
printf("\n");
}
int main()
{
line();
header();
line();
int a;
for(a=2;a<=5;a++)
{
printf("\nSqaure of %d = %d \n",a,a*a);
printf("Cube of %d = %d \n",a,a*a*a);
printf("Square of square, of %d = %d \n \n ",a,a*a*a*a);
}
printf("\n \n \n \n Created by Arslan Malik");
printf("\nFacebook Profile > www.facebook.com/arslan.ud.din \n \n \n \n ");
line();
return 0;
}
#include<stdlib.h>
void line()
{
int i,j;
printf("\n");
for(i=1;i<=42;i++)
printf("=");
}
void header()
{
printf("\n");
printf("Built and Designed by Arslan Malik\n\n www.CworldbyAS.blogspot.com");
printf("\n");
}
int main()
{
line();
header();
line();
int a;
for(a=2;a<=5;a++)
{
printf("\nSqaure of %d = %d \n",a,a*a);
printf("Cube of %d = %d \n",a,a*a*a);
printf("Square of square, of %d = %d \n \n ",a,a*a*a*a);
}
printf("\n \n \n \n Created by Arslan Malik");
printf("\nFacebook Profile > www.facebook.com/arslan.ud.din \n \n \n \n ");
line();
return 0;
}
No comments:
Post a Comment