MACRO - # void main(void) { float r,a; clrscr();...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
#define PI 3.1428571 #define p printf #define vol(x) 4.0/3*PI*x*x #define s scanf #include<stdio.h> #include<conio.h>
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: # void main(void) { float r,a; clrscr(); p(&quot;enter the value of radius: &quot;); s(&quot;%f&quot;,&amp;r) ; a=vol(r); p(&quot;area = %f &quot;,a); getch(); }...
View Full Document

Ask a homework question - tutors are online