Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

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.

image text in transcribed

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Big Data Fundamentals Concepts, Drivers & Techniques

Authors: Thomas Erl, Wajid Khattak, Paul Buhler

1st Edition

0134291204, 9780134291208

More Books

Students also viewed these Databases questions