Use the visual basic program to solve these questions (capture screen the answers from the program and paste them here)!!
Q1) Write a console-based program to calculate the following mathematical series
X X2 X3 X4 X5 X6 X7
—– – —— + —— – —— + ——- – —— + ——-
1! 2! 3! 4! 5! 6! 7!
A. Create a class that contains the necessary methods (don’t use Math class methods, create your own).
B. Call the methods from a driving class (i.e. a class contains Main method) to get the result of the above formula for any value (X) entered by the user.
Q2) Create a GUI application that allows the user to enter an hourly pay rate in a TextBox. When the user clicks a button and the value in the TextBox is less than $7.50 or greater than $49.99, display an error message; otherwise, display a message indicating that the rate is okay.