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);