create a program that will be used to inform their clients as to whether a possible…
- User
create a program that will be used to inform their clients as to whether a possible investment is of high or low risk to encourage smarter financial decisions. A high risk investment is any investment amount greater than 10% of their account balance. The program will need to: Allow the user to enter their account balance and investment amount Check whether the investment is less than and equal to/greater than 10% of their account balance o If the investment is less than and equal to 10% Alert the user that the investment is safe o If the investment is greater than 10% Alert the user that the investment is risky
- Assistant
Account Balance: 1500
The investment is risky. It exceeds 10% of your account balance. Please reconsider before proceeding.