Question: 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
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
Get step-by-step solutions from verified subject matter experts
