Programs using visual studio

Assignment Help Basic Computer Science
Reference no: EM131498631

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: EM131498631

Questions Cloud

How does a public administrator balance the needs : How does a public administrator balance needs of public with pressure of political constituents? Is the target population a key player in the policy process?
Control objectives for information and related technology : Control Objectives for Information and Related Technology (COBIT) and Information Technology Infrastructure Library (ITIL)" Please respond to the following:
An explanation of one key event in the history of judaism : A summary of the life and importance of one key person in ancient Jewish history.An explanation of one key event in the history of Judaism.
Estimate the reheater surface area : Public Service Enterprise Group (PSEG) is a publicly traded, diversified energy company headquartered in New Jersey. A junior mechanical engineer working.
Programs using visual studio : For full credit, make sure that you create both programs using Visual Studio. Also make sure that the programs compile (build) successfully.
What type of democracy do you believe fits american system : How do you define democracy and what type of democracy do you believe best fits our American system (refer to discussion in our text)?
Design heat exchanger that could be used in engineer system : Fuel oils such as #2 fuel oil may be used in boiler burners to provide energy to the working fluid in the boiler tubes. Due to the high viscosity of the fuel.
Possibility of three business computers : With the possibility of three business computers in his home, and all of his business records possibly vulnerable, this would be a good time to advise Bill.
Conduct the appropriate statistical analyses using spss : With your disease in mind, and the instructor feedback you received on your methods section, conduct the appropriate statistical analyses using SPSS and review.

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Identifies the cost of computer

identifies the cost of computer components to configure a computer system (including all peripheral devices where needed) for use in one of the following four situations:

  Input devices

Compare how the gestures data is generated and represented for interpretation in each of the following input devices. In your comparison, consider the data formats (radio waves, electrical signal, sound, etc.), device drivers, operating systems suppo..

  Cores on computer systems

Assignment : Cores on Computer Systems:  Differentiate between multiprocessor systems and many-core systems in terms of power efficiency, cost benefit analysis, instructions processing efficiency, and packaging form factors.

  Prepare an annual budget in an excel spreadsheet

Prepare working solutions in Excel that will manage the annual budget

  Write a research paper in relation to a software design

Research paper in relation to a Software Design related topic

  Describe the forest, domain, ou, and trust configuration

Describe the forest, domain, OU, and trust configuration for Bluesky. Include a chart or diagram of the current configuration. Currently Bluesky has a single domain and default OU structure.

  Construct a truth table for the boolean expression

Construct a truth table for the Boolean expressions ABC + A'B'C' ABC + AB'C' + A'B'C' A(BC' + B'C)

  Evaluate the cost of materials

Evaluate the cost of materials

  The marie simulator

Depending on how comfortable you are with using the MARIE simulator after reading

  What is the main advantage of using master pages

What is the main advantage of using master pages. Explain the purpose and advantage of using styles.

  Describe the three fundamental models of distributed systems

Explain the two approaches to packet delivery by the network layer in Distributed Systems. Describe the three fundamental models of Distributed Systems

  Distinguish between caching and buffering

Distinguish between caching and buffering The failure model defines the ways in which failure may occur in order to provide an understanding of the effects of failure. Give one type of failure with a brief description of the failure

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