Write a C++ programme to calculate area of a circle, a rectangle or a triangle depending upon a user’s choice.
Please help for this.
u mean using object orientation?
or jst using mulitple functions? @Skumar730
Please answer. I am trying to help you.
use any method
k then.
do u know switch case?
No i'm from mechanical background.
So i have no idea about this.
switch case in C++ allows u to switch between choices. The syntax or the form to use switch case is switch(choice) { case 1: statement; break; case 2: statement; break; case 3: statement; break; default : statement; } does that make a little sense?
i attachemy assigment if any one can help me in solving this.
LOL can we use pseudo code?
yes
this is such a trivial program but keeping that aside,why ask some thing like this in a physics group?
i didn't understand wht u want u say @ quarkine
if i need to post it in Physics group ? @ Quarkine
i am saying you should better find a C.S group and ask it there..that is why we have different groups for different subjects..
Join our real-time social learning platform and learn together with your friends!