Ask your own question, for FREE!
Physics 10 Online
OpenStudy (anonymous):

Write a C++ programme to calculate area of a circle, a rectangle or a triangle depending upon a user’s choice.

OpenStudy (anonymous):

Please help for this.

OpenStudy (ajprincess):

u mean using object orientation?

OpenStudy (ajprincess):

or jst using mulitple functions? @Skumar730

OpenStudy (ajprincess):

Please answer. I am trying to help you.

OpenStudy (anonymous):

use any method

OpenStudy (ajprincess):

k then.

OpenStudy (ajprincess):

do u know switch case?

OpenStudy (anonymous):

No i'm from mechanical background.

OpenStudy (anonymous):

So i have no idea about this.

OpenStudy (ajprincess):

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?

OpenStudy (anonymous):

OpenStudy (anonymous):

OpenStudy (anonymous):

i attachemy assigment if any one can help me in solving this.

OpenStudy (anonymous):

LOL can we use pseudo code?

OpenStudy (anonymous):

yes

OpenStudy (ajprincess):

OpenStudy (anonymous):

this is such a trivial program but keeping that aside,why ask some thing like this in a physics group?

OpenStudy (anonymous):

i didn't understand wht u want u say @ quarkine

OpenStudy (anonymous):

if i need to post it in Physics group ? @ Quarkine

OpenStudy (anonymous):

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..

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!