USE MICRO IN C
#include<stdio.h>
#include<conio.h>
#define area(n) (n*n)
void main()
{
int s,sq;
printf("enter the side of square\n");
scanf("%d",&s);
sq=area(s);
printf("%d",sq);
}
#include<stdio.h>
#include<conio.h>
#define area(n) (n*n)
void main()
{
int s,sq;
printf("enter the side of square\n");
scanf("%d",&s);
sq=area(s);
printf("%d",sq);
}
No comments:
Post a Comment