Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I need in c++ Basic Functions Lab Name When done with each programming item, take a snipit of each portion of the program and output

I need in c++
image text in transcribed
Basic Functions Lab Name When done with each programming item, take a snipit of each portion of the program and output and paste it under the appropriate task. When you have finished the lab, submit on campus in the appropriate location. 1. Write a function that prints out the following message. (3 points) 1. Ham sandwich 2. Turkey and Rye 3. BLT 4. Meatball sandwich 2. Write a function that will ask a user for the two legs of a right triangle, calculates the hypotenuse, and then tells the user the length of the hypotenuse. (4 points) 3. Write a function that calculate the area of a triangle. Outside of the function, the program will ask the user for the length of the base and height. Outside of the function, the program will tell the user the area of the triangle. (4 points)

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

Database Concepts

Authors: David M Kroenke, David J Auer

6th Edition

0132742926, 978-0132742924

More Books

Students also viewed these Databases questions

Question

What is meant by decentralisation of authority ?

Answered: 1 week ago

Question

Briefly explain the qualities of an able supervisor

Answered: 1 week ago

Question

Define policy making?

Answered: 1 week ago

Question

Define co-ordination?

Answered: 1 week ago

Question

What are the role of supervisors ?

Answered: 1 week ago