#include<stdio.h> #include<conio.h> #define SQUARE(x) x*x void main() { int a,b; clrscr(); printf("enter the number to square : "); scanf("%d",&a); b=SQUARE(a); printf("the square of %d is %d",a,b); getch(); }
© 2019 CODE WITH SHARAD | Privacy Policy
Comments