summaryrefslogtreecommitdiff
path: root/1553/CH25/EX25.2/25Ex2.sce
blob: 4d35db7136d5ead5c02d189bd08bfeff52543735 (plain)
1
2
3
4
5
6
7
8
//Chapter 25 Ex 2

clc;
close;
clear;
long=12; breadth=8; height=9;   //all in meters
ldia=sqrt(long^2+breadth^2+height^2);
mprintf("The length of longest pole is %d meters",ldia);