*****************************
* your name *
*****************************
open(unit=21,file='circle.out',status='unknown')
open(unit=22,file='circle.dat',status='unknown')
write(unit=21,fmt=2500)
2500 format(1x,'Circles and Spheres')
write(unit=21,fmt=3000)
3000 format(1x,'If radius is',3x,'with density',2x,
1'circumference',9x,'volume',9x,'weight'/)
100 read(unit=22,fmt=1000)rad,dens
if(rad.eq.0) goto 9900
1000 format(f6.2,1x,f6.2)
circ=rad*2.0*3.1416
vol=(rad**3*3.1416*4)/3.0
wt=vol*dens
write(unit=21,fmt=2000)rad,dens,circ,vol,wt
2000 format(1x,6(f12.2,3x))
goto 100
9900 write(unit=21,fmt=4000)
4000 format(/,1x,'End Of Data')
stop
end