[solved]-Write Program Calculate Area Triangle Using Heron S Formula Named Hero Alexandria Greek En Q39083788


Write a program to calculate the area of a triangle using Heron’s formula (named after Hero of Alexandria, a Greek Engineer and Mathematician). Your program should loop until the user wants to quit. Heron form Heron’s Formula S = A+3+C Show Computational Thinking and Test Cases: Area = S/S – Ay/S – B) ( S C) Pseudocode: Write a program that works with strings. Your program should loop until the user wants to quit. • Ask the user to input a stringi. Example: “Why did a programmer quit his job?” • Calculate and print the number of times “i” appears in the stringi. • Read in a second string2 and append it to the first string1. Example: “Because he didn’t get arrays.” • Print string 1 and string 2. Ask the user to input a string3. Example: “What kind of snake does a programmer probably own? A pi-thon.” Calculate and print the length of string3. Write a C program that uses a menu and a switch statement to ask the user what type of interest they would like to calculate Simple, Compound or Continuous. Calculate and print results. Your program must loop until the user wants to quit. Simple Interest A=P(1 + r) P = Principle or Initial Amount A = Amount after t years r = interest rate (ex: for 5% user=0.05) n = compounding per year (ex: quarterly, n = 4) Compound interest Continuous compounding A-Pert Computational Thinking and Test Cases: Pseudocode: Show transcribed image text Write a program to calculate the area of a triangle using Heron’s formula (named after Hero of Alexandria, a Greek Engineer and Mathematician). Your program should loop until the user wants to quit. Heron form Heron’s Formula S = A+3+C Show Computational Thinking and Test Cases: Area = S/S – Ay/S – B) ( S C) Pseudocode:
Write a program that works with strings. Your program should loop until the user wants to quit. • Ask the user to input a stringi. Example: “Why did a programmer quit his job?” • Calculate and print the number of times “i” appears in the stringi. • Read in a second string2 and append it to the first string1. Example: “Because he didn’t get arrays.” • Print string 1 and string 2. Ask the user to input a string3. Example: “What kind of snake does a programmer probably own? A pi-thon.” Calculate and print the length of string3.
Write a C program that uses a menu and a switch statement to ask the user what type of interest they would like to calculate Simple, Compound or Continuous. Calculate and print results. Your program must loop until the user wants to quit. Simple Interest A=P(1 + r) P = Principle or Initial Amount A = Amount after t years r = interest rate (ex: for 5% user=0.05) n = compounding per year (ex: quarterly, n = 4) Compound interest Continuous compounding A-Pert Computational Thinking and Test Cases: Pseudocode:
Expert Answer
Answer to Write a program to calculate the area of a triangle using Heron’s formula (named after Hero of Alexandria, a Greek Engin… . . .
OR

