Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Business Management Expert

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.

Business Management, Management Studies

  • Category:- Business Management
  • Reference No.:- M92305096
  • Price:- $10

Priced at Now at $10, Verified Solution

Have any Question?


Related Questions in Business Management

1 what is an entrepreneur and how is the entrepreneur

1. What is an entrepreneur? and How is the entrepreneur different from the inventor, promoter, and administrator? 3. What is intrapreneurship? and How can it be enabled in an organization?

Recommend the general hiring guidelines and process as a

Recommend the general hiring guidelines and process as a list of minimum of seven steps for a firm to legally current legally flawed process and procedures also add what law or government eight law agency guidelines addr ...

Explaining how professional etiquette can impact

Explaining how professional etiquette can impact professional relationships. Consistently displaying proper etiquette is a reflection of one's organization and can build or destroy business relationships. explain the imp ...

How does a fundraiser use donor motivations to increase

How does a fundraiser use donor motivations to increase fundraising effectiveness? What is your opinion on why so much of the money given to charity comes from people who are not wealthy-what is their motivation?

Describe the proceduresguidelines used by hr to conduct a

Describe the procedures/guidelines used by HR to conduct a job evaluation.

Briefly describe a how personality develops over time b the

Briefly describe: (a) how personality develops over time, (b) the degree to which it becomes stable and when, and (c) general shifts that occur for most people moving into adulthood.

This is from my training and development course1 how might

This is from my training and development course 1) How might course design differ for baby boomers compared to Gen Xers? 2) What could be done to increase the likelihood of transfer of training if the work environment co ...

With an emphasis on some of the security ethical and

With an emphasis on some of the security, ethical, and societal challenges of IT in the business world. Please discuss a real-world example/application of an organization that has dealt with crimes including hacking, cyb ...

Would it help if a non-profit that aims to help the less

Would it help if a non-profit that aims to help the less fortunate lobbied with the United Nations and other international organizations to make the governments in some of the countries to spend a certain percentage of t ...

List some possible advantges and disadvantges to the

List some possible advantges and disadvantges to the strategy of locating a company such as turning technolgies outside high tech

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As