Construction -10
Directions: 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.
1. Write a Visual Logic program that calculates the following.
a) The user enters an amount
b) The program calculates the interest at 5%. Write a procedure to calculate the interest earned and the total amount which includes the interest.
c) Write the output using format currency to display the interest earned and the total amount calculated in b).
Copy and paste the program and the output for credit and upload the program file.
2. 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.
a) Use random for the first dice. Display the first dice.
b) Use random for the second dice. Display the second dice.
c) Add them together as the sum.
Copy and paste the program and the output for credit and upload the program file.
- If the highest subscript in an array is nine and the subscripts start at zero, what is the size of the array?
- Think about arrays that they use in everyday life situations. What are the advantages of using these types of arrays? Are there any disadvantages?
5. a) Write a Visual Logic program to declare and populate an array to hold five student test scores.
b) Write a Visual Logic program to calculate the student’s average for the test scores. Output the average test score.
12 days ago
12
- help
- Explain two economic and market forces that will impact the financial plan of the company
- WEEK THREE QUIZ
- Chapter 1 (The Expansion of Criminological Theory)1. Compare and contrast the sociological (Mills) and criminological (Williams imaginations.2. Why do you...
- finance
- Incident Summary and Role of Emergency Operations Due Date: Jan 25, 2017 23:59:59 Max Points: 100 Details: For this assignment you will compose the Incident Summary and the Role of Emergency Operations sections of the AAR. The incident summary s
- Strategic Analysis Paper
- Submit a 3 page evaluation of the benefits and challenges of implementing strategic planning within an organization. Your evaluation should include the following: What are the steps of the strategic planning cycle? Be sure to include a condensed descripti
- P/E Ratio Effect (1) Why do you think some of the stocks had so high P/E ratios? (2) Given the fact that firms with high P/E ratio firms have more growth opportunities than low P/E ratio firms, if other things remain the same, would you buy high P/E rat
- ONE
491
Directions: 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 …
a year ago
visual logic console
Directions: 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 …
a year ago