Answered step by step
Verified Expert Solution
Question
1 Approved Answer
solve answer reate a constant to store the value .18 (which is a tip percentage) pecifications for input are: string inputs (Name and 2 others)
solve answer
reate a constant to store the value .18 (which is a tip percentage) pecifications for input are: string inputs (Name and 2 others) integer inputs 3 float inputs Specifications for output are: 1. Display a sentence or 2 back to the user (appropriate and meaningful) using the 3 string inputs 2. Display a line or two of 20 or more of a symbols (like " ""s or "."s) using repeat instead of typing them all (********************) 3. 4 output statements using the 2 ints and a mathematical operation with them - always include original values back to the user in the output and make the sentences user friendly - 1 number to 3 rd power - Square root of 1 number (use math library) - Area of a shape using those 2 numbers as length and width - 1 additional fun math output 4. 4 output statements using the 3 floats with math - always include original values back to the user in the output and make the sentences user friendly - The 1st number times the sum of the 2nd and 3rd - The product of the 1st and 2nd numbers divided by the sum of the 1st and 3rd number - 1 output statement that multiples one of the numbers input by the constant you created and displays that value as money using f formatting (i,2f like we learned - like $42.50). Make sure to display the constant in the sentence as a \% (like 18% tip) - Do the math to turn the . 18 into 18 directly in the print statement - 1 additional fun math output Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started