Assignment #5: Balance Report
Write a web application which will provide a report of the balance held in the visitor's account during the past several months.
• Create an input form, named solution05.html, which will ask for a number from the visitor. Specify that the number should lie between 1 and 12 (inclusive).
• Within the script, read in the number entered by the user and verify that it lies within the proper range. Use constants LO_VAL and HI_VAL to specify the limits.
• Use two constants named BAL_HI and BAL_LO to specify the range of balances which might appear in the account.
• Establish a while loop which will add text to a result string which will eventually display the output in the HTML portion of the script.
• Use a br tag to place each line of output on its own line.
• Within the loop, generate a random balance between BAL_HI and BAL_LO using the rand() function.
• Add the balance for that month to the result string, with some explanatory text.
• In the HTML portion of the script file, which should be named solution05.php, display the result string.