Answered step by step
Verified Expert Solution
Question
1 Approved Answer
3 questions 1.) For option 2 and 3 do I label them as else if statements and the last entry being else or can I
3 questions
1.) For option 2 and 3 do I label them as "else if" statements and the last entry being "else" or can I just label them all "if" statements, code seems to work fine either way.
if
else if
else if
else
or.......
if
if
if
if
__________________________
2.) (Last entry) How would I write a final "else" statement if I end up selecting a number that is not 1,2 or 3.
toolkit.cs.ohlone.edu PuTTY UN PICO (tm) .8 F1 area calculator.cPD cout>radius; ut>length: coutbaae: cout>height; cout"Area of the Triangle i,
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started