Lab : Calculate the interest for a bank account.Your Program should use Scanner to collect account balance and interest rate (input 2.5 for 2.5%),and then output the interest shuold be paid.
interest= balance*interest_rate;
Homework : Write a Program to get an integer number from the dialog box and display its square in a message box.