Question: only need help in number 3 cosine Let's practice writing some more code! Write a program that prompts the user for two integers and then
Let's practice writing some more code! Write a program that prompts the user for two integers and then prints at least 5 outputs that involve arithmetic calculations. Please make sure you declare good variables and constants (if needed). Assume numbers will be positive and non-zero. Calculate and output (print) the following: 1. Average 2. Maximum or Minimum 3. Fourth power (that is x4 ) 4. Cosine of one of the values. Format output using 6 spaces and 2 decimal places
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
