Microsoft Visual C#: An Introduction to Object-Oriented Programming, Loose-leaf Version
Microsoft Visual C#: An Introduction to Object-Oriented Programming, Loose-leaf Version
7th Edition
ISBN: 9781337685771
Author: Joyce Farrell
Publisher: Cengage Learning
bartleby

Concept explainers

Question
Book Icon
Chapter 5, Problem 2E
Program Plan Intro

Program plan:

  1. Two variables integer and add of type int are declared to store the entered numbers and computed sum.
  2. A do-while statement is used to enter multiple values of integer and while statement check for value 999 which is entered to exit the loop.
  3. An if statement is used to compute the sum if a user enter 999.
  4. After calculation computed sum is printed.

Program description:

The main purpose of the program is used to calculate the sum of entered numbers and print the sum.

Blurred answer
Students have asked these similar questions
digital image processingWhat is the number of dark small square in set B after (B ⊕X)?a) 29b) 32c) 35d) Other
digital image processingWhat is the number of dark small square in set A after (A θ Y)?a) 26b) 24c) 22d) Other
digital image processingWhat is the number of dark small square in set A after (A θ X)? a) 22b) 24c) 20d) Other
Knowledge Booster
Background pattern image
Computer Science
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
SEE MORE QUESTIONS
Recommended textbooks for you
Text book image
Microsoft Visual C#
Computer Science
ISBN:9781337102100
Author:Joyce, Farrell.
Publisher:Cengage Learning,
Text book image
EBK JAVA PROGRAMMING
Computer Science
ISBN:9781337671385
Author:FARRELL
Publisher:CENGAGE LEARNING - CONSIGNMENT
Text book image
Programming Logic & Design Comprehensive
Computer Science
ISBN:9781337669405
Author:FARRELL
Publisher:Cengage
Text book image
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:9781337102124
Author:Diane Zak
Publisher:Cengage Learning
Text book image
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:9781337508841
Author:Carey
Publisher:Cengage
Text book image
EBK JAVA PROGRAMMING
Computer Science
ISBN:9781305480537
Author:FARRELL
Publisher:CENGAGE LEARNING - CONSIGNMENT