blob: f85a208e629a9283317fc7a6254e0b537e8c1ec6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
//chapter 24 Ex 25
clc;
clear;
close;
a=13.86;
rate=4.4;
area1=a*10000;
radius=sqrt(area1/%pi);
circumference=2*(%pi)*radius;
cost=rate*circumference;
mprintf("The area is Rs.%.0f",cost);
|