blob: 7fa3c0b2a39c5426e96bdf09e3864020ef82ac3e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
clear
present=19.5
actual=20
cm1=actual/present
cm12=(actual*actual)/(present*present)
pm=125.5
apm=pm*cm12
printf("\n actual area present= %0.3f square cm',apm)
cm=40
cm2=cm*cm
area=cm2*apm
scale=(20.05*20.05)/(20*20)
ta=scale*area
printf("\n true area= %0.3f square meters',ta)
|