PROGRAM TO FIND AREA OF DIFFERENT SHAPES USING OVERLOADING - Printable Version +- Free Academic Seminars And Projects Reports (https://easyreport.in) +-- Forum: Academic (https://easyreport.in/forumdisplay.php?fid=41) +--- Forum: Study guide (https://easyreport.in/forumdisplay.php?fid=63) +---- Forum: Technical (https://easyreport.in/forumdisplay.php?fid=64) +---- Thread: PROGRAM TO FIND AREA OF DIFFERENT SHAPES USING OVERLOADING (/showthread.php?tid=4802) |
PROGRAM TO FIND AREA OF DIFFERENT SHAPES USING OVERLOADING - mandvi - 08-16-2017 Code: import java.io.*; OUTPUT E:\ 5BCA-B\lijo\java >java Newar enter length 2 enter breadth 2 Area of rectangle=4 enter radius 2 enter height 2 Area of circle=25.12 enter the length of one side 2 Area of square=4 enter base 2 enter height 2 Area of triangle=2.0 |