Coding Challenge: VAT Calculation
Learn how to manipulate the input from the user.
We'll cover the following
Problem statement
Write a program that asks the user for a raw price. After that, it calculates the corresponding final price using a VAT rate of .
Input
Prompt user to enter the raw price, let’s say user entered .
Enter Raw Price: 1200
Expected output
Calculate VAT for value given by the user and display the final price, which for the above case is
Final Price: 1447.2
Coding exercise
Get hands-on with 1400+ tech skills courses.