Write a procedure to calculate the interest earned


Assignment: Visual Logic Console

Use Visual Logic Console for all inputs and outputs. If you are not familiar with Visual Logic, a flow chart can be used instead of a program to answer the questions that require Visual Logic.

Choose any 4 out of 5 Questions.

a. Write a Visual Logic program that calculates the following.

i. The user enters an amount

ii. The program calculates the interest at 5%. Write a procedure to calculate the interest earned and the total amount which includes the interest.

iii. Write the output using format currency to display the interest earned and the total amount calculated in (ii).

Copy and paste the program and the output for credit and upload the program file.

b. Write a Visual Logic program where the user rolls two dice and the program displays the sum of them. Each dice contains numbers from 1-6.

i. Use random for the first dice. Display the first dice.
ii. Use random for the second dice. Display the second dice.
iii. Add them together as the sum.

Copy and paste the program and the output for credit and upload the program file.

c. If the highest subscript in an array is nine and the subscripts start at zero, what is the size of the array?

d. Think about arrays that they use in everyday life situations. What are the advantages of using these types of arrays? Are there any disadvantages?

e. i. Write a Visual Logic program to declare and populate an array to hold five student test scores.
ii. Write a Visual Logic program to calculate the student's average for the test scores. Output the average test score.

Format your assignment according to the give formatting requirements:

a. The answer must be double spaced, typed, using Times New Roman font (size 12), with one-inch margins on all sides.

b. The response also includes a cover page containing the title of the assignment, the course title, the student's name, and the date. The cover page is not included in the required page length.

c. Also include a reference page. The references and Citations should follow APA format. The reference page is not included in the required page length.

Solution Preview :

Prepared by a verified Expert
Computer Engineering: Write a procedure to calculate the interest earned
Reference No:- TGS03179540

Now Priced at $40 (50% Discount)

Recommended (98%)

Rated (4.3/5)