EBK STARTING OUT WITH PROGRAMMING LOGIC
EBK STARTING OUT WITH PROGRAMMING LOGIC
4th Edition
ISBN: 9780100659384
Author: GADDIS
Publisher: YUZU
bartleby

Concept explainers

bartleby

Videos

Textbook Question
Book Icon
Chapter 11, Problem 1PE

Language Translator

Design a program that displays the following menu:

Select a Language and I Will Say Good Morning

  1. 1. English
  2. 2. Italian
  3. 3. Spanish
  4. 4. German
  5. 5. End the Program

Enter your selection.

If the user selects item 1, the program should display "Good morning.” If the user selects item 2, the program should display “Buongiorno.” If the user selects item 3, the program should display “Buenos dias.” If the user selects item 4, the program should display “Guten morgen.” If the user selects item 5, the program should end.

Blurred answer
Students have asked these similar questions
Chapter 11 Menu-Driven Programs Programming Exercises 1, Language Translator Design a program that displays the following menu: Select a Language and I Will Say Good Morning 1. English 2. Italian 3. Spanish 4. German 5. End the Program Enter your selection. dhotete The Language Pansiator Problem If the user selects item 1, the program should display "Good morning." If the user selects item 2, the program should dieplav "Buongiorno." If the user selects item 3, the program should display "Buenus s." If the user selects item 4, the program should display "Guten morgen."If the aser selects item 5, the program should en 66 66 CC 99
Design a program that displays the following menu: IN QBASIC LANGUAGE QBASIC    Select a Language and I Will Say Good Morning1. English2. Italian3. Spanish4. German5. End the ProgramEnter your selection.If the user selects item 1, the program should display “Good morning.” If the user selects item 2, the program should display “Buongiorno.” If the user selects item 3, the program should display “Buenos dias.” If the user selects item 4, the program should display “Guten morgen.” If the user selects item 5, the program should end.
Geometry Calculator Write a program that displays the following menu: Geometry Calculator 1. Calculate the Area of a Circle 2. Calculate the Area of a Rectangle 3. Calculate the Area of a Triangle 4. Quit Enter your choice (1-4): If the user enters 1, the program should ask for the radius of the circle and then display its area. Use the following formula: area = Pi*r^2 Use 3.14159 for and the radius of the circle for r. If the user enters 2, the program should ask for the length and width of the rectangle and then display the rectangle’s area. Use the following formula: area = length * width If the user enters 3 the program should ask for the length of the triangle’s base and its height, and then display its area. Use the following formula: area = base * height * .5 If the user enters 4, the program should end. Input Validation: Display an error message if the user enters a number outside the range of 1 through 4 when selecting an item from the menu. Do not accept negative values for…

Chapter 11 Solutions

EBK STARTING OUT WITH PROGRAMMING LOGIC

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
Database System Concepts
Computer Science
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:McGraw-Hill Education
Text book image
Starting Out with Python (4th Edition)
Computer Science
ISBN:9780134444321
Author:Tony Gaddis
Publisher:PEARSON
Text book image
Digital Fundamentals (11th Edition)
Computer Science
ISBN:9780132737968
Author:Thomas L. Floyd
Publisher:PEARSON
Text book image
C How to Program (8th Edition)
Computer Science
ISBN:9780133976892
Author:Paul J. Deitel, Harvey Deitel
Publisher:PEARSON
Text book image
Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781337627900
Author:Carlos Coronel, Steven Morris
Publisher:Cengage Learning
Text book image
Programmable Logic Controllers
Computer Science
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education
Expressions in C++ | C++ tutorial for beginners; Author: Tutorial Mart;https://www.youtube.com/watch?v=XHbsZGpmRc8;License: Standard YouTube License, CC-BY
expression in python # python expressions; Author: Abhishek Tripathi;https://www.youtube.com/watch?v=Cc-kJGRjH6k;License: Standard Youtube License