Page 1 of 1

2. Write a program that reads two integers and calculates the following: a. sum b. difference c. product d. integer divi

Posted: Thu May 26, 2022 9:03 am
by answerhappygod
2 Write A Program That Reads Two Integers And Calculates The Following A Sum B Difference C Product D Integer Divi 1
2 Write A Program That Reads Two Integers And Calculates The Following A Sum B Difference C Product D Integer Divi 1 (50.35 KiB) Viewed 12 times
2. Write a program that reads two integers and calculates the following: a. sum b. difference c. product d. integer division e. square of their sum f. square root of their sum 3. Write a program that reads and finds the following: Circumference and area of any circle. a. Circumference = 2π * radius Area = π * radius² b. surface area and volume of any regular cylinder SideSurface Area = 2π * radius * height Volume = π * radius² * height c. circumference and area of any ellipse Circumference = 2n = 1/2 (( height) ² + (width) ²) width Area = π * height 2 2 d. surface area and volume of any sphere Surface Area = 4* π * radius² Volume = * π * radius ³ 3.