Two programs in visual basic

Assignment Help Business Management
Reference no: EM131496361

The objective of the assignment is to write two programs in Visual Basic that apply looping logic using a Do While loop within a program. The first program will use a counter-controlled loop. The second program will use a sentinel-controlled loop. Another objective is to work through any syntax errors encountered (debugging) to develop a correct solution that is free of errors.

Description of Part 1:  Create a working Visual Basic solution using the Visual Studio IDE that outputs every number from 1 through 20 using a counter-controlled Do While loop. Note that no input will be required from the user. Provided your logic from last week was correct, you can use the pseudocode and flowchart from last's week's assignment to help you code your solution. Description of Part 2:  Create a new project in Visual Studio that uses a sentinel controlled loop. The program should ask for a new Integer number until the user types -999. Each number should be added into a sum variable. Recall that -999 is called a sentinel value and when using this kind of loop you will want to prompt the user for the first number before the loop begins. The statements inside the loop body should add the number provided by the user to the sum, but do not display the number for the user. The output of the sum should only occur one time at the end of the program.

Requirements:  For full credit, make sure that you create both programs using Visual Studio. Also make sure that the programs compile (build) successfully and without any errors. Ensure that you have completed both parts of the assignment.

Reference no: EM131496361

Questions Cloud

What will he the duration of a zero-coupon bond : What will he the duration of a zero-coupon bond maturing in 10 years.
How have they responded to these environmental influences : Use Figure to identify, for each of these organisations, those parts of their microand macro-environments that have most impact upon their marketing activities.
Create pseudocode for a program : For this assignment, create pseudocode for a program that asks the user for two numeric values, adds them together to find the sum
What is it worth today if the cost of capital : Suppose that you will receive $2072 ten years from now. What is it worth today if the cost of capital is 4%.
Two programs in visual basic : The objective of the assignment is to write two programs in Visual Basic that apply looping logic using a Do While loop within a program.
Target capital structure of debt : If Shi has a target capital structure of 30% debt, 5% preferred stock, and 65% common stock, what is its WACC?
Describe seth goldmans leadership performance : Describe Seth Goldman's leadership performance on concept of "Triple Bottom Line" using at least two examples from both resources to support your evaluation.
What other demands does the business have to satisfy : A football game is not a tangible product. A regular and significant intangible purchase by a Manchester United football fan is the £27-£49 ticket.
Calculate the taxes reported on the income statement : Calculate the 2015 taxes reported on the income statement.

Reviews

Write a Review

Business Management Questions & Answers

  Caselet on michael porter’s value chain management

The assignment in management is a two part assignment dealing 1.Theory of function of management. 2. Operations and Controlling.

  Mountain man brewing company

Mountain Man Brewing, a family owned business where Chris Prangel, the son of the president joins. Due to increase in the preference for light beer drinkers, Chris Prangel wants to introduce light beer version in Mountain Man. An analysis into the la..

  Mountain man brewing company

Mountain Man Brewing, a family owned business where Chris Prangel, the son of the president joins. An analysis into the launch of Mountain Man Light over the present Mountain Man Lager.

  Analysis of the case using the doing ethics technique

Analysis of the case using the Doing Ethics Technique (DET). Analysis of the ethical issue(s) from the perspective of an ICT professional, using the ACS Code of  Conduct and properly relating clauses from the ACS Code of Conduct to the ethical issue.

  Affiliations and partnerships

Affiliations and partnerships are frequently used to reach a larger local audience? Which options stand to avail for the Hotel manager and what problems do these pose.

  Innovation-friendly regulations

What influence (if any) can organizations exercise to encourage ‘innovation-friendly' regulations?

  Effect of regional and corporate cultural issues

Present your findings as a group powerpoint with an audio file. In addition individually write up your own conclusions as to the effects of regional cultural issues on the corporate organisational culture of this multinational company as it conducts ..

  Structure of business plan

This assignment shows a structure of business plan. The task is to write a business plane about a Diet Shop.

  Identify the purposes of different types of organisations

Identify the purposes of different types of organisations.

  Entrepreneur case study for analysis

Entrepreneur Case Study for Analysis. Analyze Robin Wolaner's suitability to be an entrepreneur

  Forecasting and business analysis

This problem requires you to apply your cross-sectional analysis skills to a real cross-sectional data set with the goal of answering a specific research question.

  Educational instructional leadership

Prepare a major handout on the key principles of instructional leadership

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd