Database System Concepts
7th Edition
ISBN: 9780078022159
Author: Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher: McGraw-Hill Education
expand_more
expand_more
format_list_bulleted
Question
Write a
print out the multiplication number table until user enters an alphabet (non number) to quit. Once user
enters ‘Q’ or anything other than a number, the program will print out “Have a nice day” and then exit
the program.
I write that program it works, but it does not print the table 10 or above but 2 to 9.
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution
Trending nowThis is a popular solution!
Step by stepSolved in 4 steps with 4 images
Knowledge Booster
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
- Write a complete C++ program that reads a line of input and prints it out; however, if the string that was read is more than 20 characters long (including whitespace characters), the message "too long" is printed instead. The end of the input is signaled by the user hitting the "enter" key, which creates a '\n' character at the end of the input. Note that the newline character '\n' is discarded, it does not become part of the string which is read. For example: Input Result Mr. Grey is fluffy Mr. Grey is fluffy Xerea Lu is a cow-colored cat too longarrow_forwardWrite a C++ program that depicts a multiplication table. your program should ask the user to enter the number of rows and columns. Sample output is something like the following: How many rows the multiplication table has? 3 How many columns? 4 your multiplication is the following: 1 2 3 4 1 1 2 3 4 2 2 4 6 8 3 3 6 9 12arrow_forwardWrite a C++ program that prompts the user to enter five test scores (decimal) then:• Prints the average of the scores.• Converts the average to an integer value. (Use a constant to store the number of scores).arrow_forward
- Write a C++ program that asks the user to input two numbers. If the first number entered is greater than the second number, the program should print the message “The first number is greater.”; else, it should print the message “The first number is smaller.” Test your program by entering the numbers 5 and 8.arrow_forwardWrite a C++ program that takes a number from user and display the output as shown in below two runs of the program.arrow_forward
arrow_back_ios
arrow_forward_ios
Recommended textbooks for you
- Database System ConceptsComputer ScienceISBN:9780078022159Author:Abraham Silberschatz Professor, Henry F. Korth, S. SudarshanPublisher:McGraw-Hill EducationStarting Out with Python (4th Edition)Computer ScienceISBN:9780134444321Author:Tony GaddisPublisher:PEARSONDigital Fundamentals (11th Edition)Computer ScienceISBN:9780132737968Author:Thomas L. FloydPublisher:PEARSON
- C How to Program (8th Edition)Computer ScienceISBN:9780133976892Author:Paul J. Deitel, Harvey DeitelPublisher:PEARSONDatabase Systems: Design, Implementation, & Manag...Computer ScienceISBN:9781337627900Author:Carlos Coronel, Steven MorrisPublisher:Cengage LearningProgrammable Logic ControllersComputer ScienceISBN:9780073373843Author:Frank D. PetruzellaPublisher:McGraw-Hill Education
Database System Concepts
Computer Science
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:McGraw-Hill Education
Starting Out with Python (4th Edition)
Computer Science
ISBN:9780134444321
Author:Tony Gaddis
Publisher:PEARSON
Digital Fundamentals (11th Edition)
Computer Science
ISBN:9780132737968
Author:Thomas L. Floyd
Publisher:PEARSON
C How to Program (8th Edition)
Computer Science
ISBN:9780133976892
Author:Paul J. Deitel, Harvey Deitel
Publisher:PEARSON
Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781337627900
Author:Carlos Coronel, Steven Morris
Publisher:Cengage Learning
Programmable Logic Controllers
Computer Science
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education