Starting Out With Visual C# (5th Edition)
Starting Out With Visual C# (5th Edition)
5th Edition
ISBN: 9780135183519
Author: Tony Gaddis
Publisher: PEARSON
bartleby

Concept explainers

bartleby

Videos

Textbook Question
Book Icon
Chapter 1, Problem 4PP

Suppose your instructor gives three exams during the semester and you want to write a program that calculates your average exam score. Answer the following:

  1. a. What items of input must the user enter?
  2. b. Once the input has been entered, how will the program determine the average?
  3. c. What output will the program display?
Blurred answer
Students have asked these similar questions
4. c. Display all the numbers the user entered that are greater than 100. Numbers smaller than 100 are ignored. The numbers should be displayed in the same order as they were entered by the user. Develop a simulation program to simulate the appearance of text message a phone receives. a. Ask user how many text messages one would receive in 12 hours. b. Ask user how many hours the user wants to run the simulation. C. Your program will display the number of seconds from the beginning of the simulation when a text message is received like this: 452 890 1593.
Airline companies apply baggage restrictions for their passengers. An airline company has decided to apply a 10kg limitation for passengers' hand luggage and 20kg for their normal baggage. When passengers arrive, they enter their hand and normal luggage weight from the keyboard. If passengers exceed their normal baggage allowance of 10 dollars per gram, they pay 12 dollars per kg. Accordingly, write the program that calculates the baggage price of the airline they will go to according to the baggage values entered by the arriving passenger and keeps this from closing the program for each passenger. Note: If hand and normal baggage allowances are stretched below the maximum value, the payment amount will be considered not negative. An example printout is given on the right. Geri bildirim gönder
You found an exciting summer job for five weeks. It pays a per hour rate (which will be input to the program), and you will work the same number of hours each week (also input). Suppose that the total tax you pay on your summer job income is 14%. After paying the taxes, you spend 10% of your net (after tax) income to buy new clothes, accessories, and school supplies. After subtracting those items from your budget, you use 25% of the remaining money buy savings bonds. In addition, your parents buy additional savings bonds for you at 50% of the amount that you buy. Write a program that prompts the user to enter the pay rate per hour and the number of hours you will work each week. The program then outputs the following:• Your income before and after taxes for your summer job.• The money you spend on clothes, accessories, and supplies.• The money you spend to buy savings bonds.• The money your parents spend to buy additional savings bonds for you.Your input for this program should be only…

Chapter 1 Solutions

Starting Out With Visual C# (5th Edition)

Ch. 1.2 - Word processing programs, spreadsheet programs,...Ch. 1.3 - What amount of memory is enough to store a letter...Ch. 1.3 - Prob. 1.13CPCh. 1.3 - Prob. 1.14CPCh. 1.3 - Prob. 1.15CPCh. 1.3 - Prob. 1.16CPCh. 1.3 - Prob. 1.17CPCh. 1.4 - A CPU understands instructions that are written...Ch. 1.4 - Prob. 1.19CPCh. 1.4 - When a CPU executes the instructions in a program,...Ch. 1.4 - What is assembly language?Ch. 1.4 - What type of programming language allows you to...Ch. 1.4 - Prob. 1.23CPCh. 1.4 - What do you call a program that translates a...Ch. 1.4 - What do you call a program that both translates...Ch. 1.4 - Prob. 1.26CPCh. 1.5 - What is a user interface?Ch. 1.5 - How does a command line interface work?Ch. 1.5 - Prob. 1.29CPCh. 1.5 - Prob. 1.30CPCh. 1.6 - What is an object?Ch. 1.6 - Prob. 1.32CPCh. 1.6 - What two general capabilities does an object have?Ch. 1.6 - Prob. 1.34CPCh. 1.6 - What is the purpose of an object that cannot be...Ch. 1.6 - What is a class?Ch. 1.6 - Prob. 1.37CPCh. 1.6 - Why might you need to write your own classes?Ch. 1.7 - Prob. 1.39CPCh. 1.7 - What is an algorithm?Ch. 1.7 - What is pseudocode?Ch. 1.7 - Prob. 1.42CPCh. 1.7 - Prob. 1.43CPCh. 1.8 - Prob. 1.44CPCh. 1.8 - Prob. 1.45CPCh. 1.8 - Prob. 1.46CPCh. 1.8 - Prob. 1.47CPCh. 1.8 - What is a ToolTip?Ch. 1.8 - Prob. 1.49CPCh. 1.8 - Prob. 1.50CPCh. 1 - A(n) __________ is a set of instructions that a...Ch. 1 - Prob. 2MCCh. 1 - Prob. 3MCCh. 1 - Prob. 4MCCh. 1 - Prob. 5MCCh. 1 - Prob. 6MCCh. 1 - Prob. 7MCCh. 1 - Prob. 8MCCh. 1 - Prob. 9MCCh. 1 - Prob. 10MCCh. 1 - Prob. 11MCCh. 1 - Prob. 12MCCh. 1 - Prob. 13MCCh. 1 - Prob. 14MCCh. 1 - Prob. 15MCCh. 1 - Prob. 16MCCh. 1 - Prob. 17MCCh. 1 - Prob. 18MCCh. 1 - If you were to look at a machine language program,...Ch. 1 - Prob. 20MCCh. 1 - Prob. 21MCCh. 1 - The_____ translates an assembly language program...Ch. 1 - The words that make up a high-level programming...Ch. 1 - Prob. 24MCCh. 1 - A(n)_____ is a program that translates a...Ch. 1 - Prob. 26MCCh. 1 - A______ error does not prevent the program from...Ch. 1 - A(n) _______ is a set of well-defined logical...Ch. 1 - An informal language that has no syntax rules and...Ch. 1 - A _______ is a diagram that graphically depicts...Ch. 1 - Objects that are visible in a programs graphical...Ch. 1 - A _____ is code that describes a particular type...Ch. 1 - The _____ is a collection of classes and other...Ch. 1 - The ______ is the part of a computer with which...Ch. 1 - Before GUIs became popular, the ______ interface...Ch. 1 - __________ programs are usually event driven. a....Ch. 1 - Today, CPUs arc huge devices made of electrical...Ch. 1 - Prob. 2TFCh. 1 - Any piece of data that is stored in a computers...Ch. 1 - Prob. 4TFCh. 1 - Machine language is the only language that a CPU...Ch. 1 - Assembly language is considered a high-level...Ch. 1 - An interpreter is a program that both translates...Ch. 1 - A syntax error does not prevent a program from...Ch. 1 - Prob. 9TFCh. 1 - Word processing programs, spreadsheet programs,...Ch. 1 - Programmers must be careful not to make syntax...Ch. 1 - C# provides only the basic keywords and operators...Ch. 1 - Why is the CPU the most important component in a...Ch. 1 - Prob. 2SACh. 1 - Prob. 3SACh. 1 - What are the words that make up a high-level...Ch. 1 - What are the short words that are used in assembly...Ch. 1 - What is the difference between a compiler and an...Ch. 1 - Prob. 7SACh. 1 - Prob. 8SACh. 1 - Prob. 9SACh. 1 - Prob. 10SACh. 1 - Can you use C# alone to perform advanced...Ch. 1 - Prob. 12SACh. 1 - Prob. 13SACh. 1 - Prob. 14SACh. 1 - Prob. 15SACh. 1 - How can you view the projects form if it is not...Ch. 1 - Use what youve learned about the binary numbering...Ch. 1 - Use what youve learned about the binary numbering...Ch. 1 - Look at the ASCII chart in Appendix C and...Ch. 1 - Suppose your instructor gives three exams during...
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
C++ for Engineers and Scientists
Computer Science
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Course Technology Ptr
Text book image
C++ Programming: From Problem Analysis to Program...
Computer Science
ISBN:9781337102087
Author:D. S. Malik
Publisher:Cengage Learning
Text book image
Programming Logic & Design Comprehensive
Computer Science
ISBN:9781337669405
Author:FARRELL
Publisher:Cengage
Text book image
EBK JAVA PROGRAMMING
Computer Science
ISBN:9781337671385
Author:FARRELL
Publisher:CENGAGE LEARNING - CONSIGNMENT
Introduction to Operators in C; Author: Neso Academy;https://www.youtube.com/watch?v=50Pb27JoUrw;License: Standard YouTube License, CC-BY