LearnPy Hub
← Variables problems
Medium

Bill With Tip, Split

Read a bill, a tip percent and the number of people. Print the total with tip and the share per person, both with 2 decimals, on two lines.

Input

Three numbers (people ≥ 1).

Output

Two lines.

Sample 1

Input
1000
10
4
Output
1100.00
275.00

Sample 2

Input
500
0
1
Output
500.00
500.00
solution.py
Output appears here
Bill With Tip, Split · Python practice problem · LearnPy Hub