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
Can you fix the code so that the output is correct?
MA
IA
The output that you have is incorrect
MA
MA
I just used a follow-up question but did now downvote because you worked really hard on this and we are almost there! :-)
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by stepSolved in 4 steps with 2 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
- Can you send output screenshots too pleasearrow_forwardC++ NOTE!!! Received some help with this code from Bartleby tutors, code runs without errors. There is an issue when the output is displayed, I cant seem to display the proper output that is being asked. for example here is the CORRECT OUTPUT below in bold. I have included a screenshot attachment of what my output looks like compared to the correct output in bold below. John Doe xxxxxxxxx DoeJ xxxxxxxxxxx #include<iostream> #include<string> using namespace std; int main() { int counter ; String Name, SSN, Password, UserId; cout << "Enter your Name: "; getline (cin, name); cout << "Enter your SSN (no space required): "; cin >> ssn; cout << "Enter your UserID: "; cin >> UserId; cout << "Enter your Password: "; cin >> Password; cout <<end1; cout <<"Name: " << Name <<end1; cout << "SSN: XXX-XX-XXXX"<<end1; cout << "UserId: "; for(counter=0; counter<User.Id.length(); counter++) { cout…arrow_forwardThe first screenshot is my code and when I run the program. It ouputs to: bop bop bop but I need it to output all on one line like the 2nd screenshot. " bop bop bop" and I need to know how to end it with a period after the user plugs in how many times they want it to repeat for. Can't use the 'end=""' function or anything complex. again no using "end=" function or any other similar function. Must stick to using while looping function. Cannot use "import sys" or "sys.stdout.write". must use simple while loop command repeating bop 3 times should print “bop bop bop”. can not use "append" function. USE WHILE LOOP FUNCTION to reproduce the word all on the same line without breakingarrow_forward
- Second Time I have submitted this. The first time was an incorrect answer. I don't know what I did wrong with "Test digitCount(0) and how to fix it.arrow_forwardcan you please do it on eclipsearrow_forwardWhat did I do wrong with this code because it wont work to look for leap years only thing it does is say example: 2016 is not a leap year. Here is the code: integer inputYear inputYear = Get next input if inputYear / 4 == 0 Put inputYear to output Put " is a leap year." to outputelseif inputYear / 400 == 0 Put inputYear to output Put " is a leap year." to outputelseif inputYear / 100 == 0 Put inputYear to output Put " is a leap year." to outputelse Put inputYear to output Put " is not a leap year." to outputarrow_forward
- What is the output of a AND b, given a = true, b = false? a. false b. true c. unknown d. 10arrow_forwardHi, I wrote the code from this question, but I am unable to input anything and get an output for it. Would you please be able to help me change the code in order to be able to run the code and be able to input the specific things in the question and get the right output? Thank you. Question: Dan’s recently announced that he’s teaching n top-secret courses next semester. Instead of enrolling in them through ACORN, students need to email Dan to express their interests. These courses are numbered from 1 to n in some arbitrary order. In particular, if a student named s is interested in taking a course c, they need to send an email to Dan containing the message c s. Note that if a student is interested in taking multiple courses, they need to send multiple emails, one per course. Uponreceivingamessagec s,Danlooksatthelistofstudentsalreadyenrolledin course c. If there’s already a student on the list whose name is too similar to s, Dan assumes s is the same student and ignores the…arrow_forwardIt is a python program. Make sure it works and run in IDLE 3.10. Please show the code screenshot and output screenshot.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