How do I write a program that calculates a ball's bounce, where the bounce is .6 of its height and user can input initial height and number of bounces (Python)? How do I write C program to calculate inputs like 45*(4+2)?