Question: Question 6 1 pts Write a sub that uses three input parameters: Principal, Periods and InterestRate and returns an output parameter called Simplelnterest. The Simplelnterest
Question 6 1 pts Write a sub that uses three input parameters: Principal, Periods and InterestRate and returns an output parameter called Simplelnterest. The Simplelnterest is basically the product of Principal, Periods and the InterestRate. You must write the complete sub, including the first line that includes the name of the sub and the list of parameters with appropriate data types HTML Editora . El e Paragraph 0 words DI Question 7 1 pts Write a sub that calls the sub you wrote above and displays the Simple Interest for a principal of 1000, number of periods of 4 and Interest rate of 0.05 HTML Editor Paragraph 0 words Question 8 1 pts Write a function that uses three input parameters: Principal, Periods and InterestRate and returns the Simplelnterest. The Simplelnterest is basically the product of Principal, Periods and the InterestRate. You must write the complete function, including the first line that includes the name of the function and the list of parameters with appropriate data types Write a sub that calls the function you wrote above and displays the Simple Interest for a principal of 1000, number of periods of 4 and Interest rate of O.05 HTML Editor VD-TT. 12pt Paragraph words Question 10 1 pts Write a function called Factorial that takes one input parameter of type Short and returns an Integer value. The returned value is the factorial of the input. If the input value is X, the factorial of X is 1'2 3"... "X Assume that X is always positive. HTML Editord
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
