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
Why isn't the code working?
I'm trying to get it to print "My birthday is 9/2/1999"
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 3 steps with 1 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
- What is the output for the following loop? Need help with Python. Which answer is correct? arrow_forwardWrite the Aseba code to create a 1-minute timer. At the end of 1 minute, make the robot beep using call sound.freq(440,10). It should continue to beep once every minute. Specify the values of any constants you use.arrow_forwardWrite a program that makes a shape of numbers same as the one below, for a number 'x' that is entered by the user ? 1 22 333 4444 55555 XXXXXXXXXarrow_forward
- Your program must keep on prompting the user if an incorrect time was given; see below for examples. The program then converts the time into the usual US format with hours from 1 to 12, the minutes and an AM or PM marker. This conversion works like follows: • 0 hours become 12 o’oclock AM, • 1 through 11 hours become 1 through 11 hours AM, • 12 hours become 12 o’clock PM, • 13 through 23 hours become 1 through 11 hours PM, with a subtraction of 12. The program then displays the time in the usual US format. Please use care when displaying the minutes, as an extra zero needs to be displayed for minutes 0 to 9. See the examples below for details. Examples of input and output: Please enter the hours on a 24 hour clock (0-23): 15 Please enter the minutes (0-59): 7 You entered 3:07PM Please enter the hours on a 24 hour clock (0-23): 27 Please enter the minutes (0-59): 17 Sorry, your input is incorrect. Write a program clock.c that asks the user to input a moment in time as an hour…arrow_forwardWrite only one of them Java or C++ code using a file reading (the file is worth below) CreditCard.txt ***I want to solve as soon as possible.arrow_forwardThis is everything that the question provides. There isn't anything else I can add to make the question more cleararrow_forward
- I need help with Java code. I'm not sure how to start...arrow_forwardI am having a problem with my static casting. I keep getting only one response no matter what values I use in the program. It's as the bottom half of my program is not executing. I cannot figure out what I am doing incorrectly. I am sure it is obvious, but after looking for two days I don't see it. /*Program: CL8_Zick_UrsulaAuthor: Ursula ZickDate: 02/13/2019Purpose: Calculate the percentage of calories from fat*/ #include<iostream>#include<iomanip>using namespace std; int main(){// Variantsint fatGrams; // Total number of calories in one gram of fatint fatCalories; // Total amount of calories from fatint totalCalories; // Total number of calories from fatint fatPercentage; // Total fat percentage from calories cout << "Enter the requested information to determine the percentage of fat in food item; \n\n"; // Get the total calories from food itemcout << "Enter the total calories: ";cin >> totalCalories; // Get the total fat grams from food itemcout…arrow_forwardI keep running this code as seen in the first picture and it keep giving me this error message seen in the second picture and I don't understand why. the initial question is: Allow a user to enter any number of double values up to 15. The user should enter 99999 to quit entering numbers. Display an error message if the user quits without entering any numbers; otherwise, display each entered value and its distance from the average. if that helpsarrow_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