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
Concept explainers
Question
Dear sir/madam
I need to solve the problem using the C++
Babu
-------------------------------------------------------------------------
- Prompt for and get a basketball player's name, the number of free throws attempted (an int), and the number of free throws made (an int). Then calculate the free throw average according to this formula:
number of shots made
Free throw average = _________________________________________________________
Number of shots attempted
Output should look like this
Name : Wilda Shott
Free throws attempted = 76
Free throws made = 29
Average = 0.381579
NOTE: The equal signs all line up
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 3 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
- please answer do not image format and properly explanation.arrow_forwardTrying to update a C++ code I wrote earlier (perhaps around 30-60 lines of code) and make it compile and run showing how to use: Note: I am currently working on using class. I am not commited to the below code, just looking for a job example to help me understand the concepts better and how to clean up my own code to be more effiecent using the current items I am reading about. I would like to stay using the address example though. Please label code to help me understand as I break it down. a. abstract data type b. const c. class constructor #include <iostream>#include <string> using namespace std; class address // address structure type{public:string streetAddress;string city;string state;int zipcode; }; int main() { address guest; // class address named guest address home; // class adress named home and inputshome.streetAddress = "1234 Right Way Rd.";home.city = "Huntsville";home.state = "AL";home.zipcode = 35803; cout << "What is your address?…arrow_forwardPlease help, I need the code in C language I'm struggling.arrow_forward
- Create a simple C program for a library system. Here are the specifications of the library system. - create an option to select the following.1. Register Users2. Add to Books 3. Reserve a Book to borrow4. Display all books added to the inventory5. Display all books reserved by the student/teacher. Here are the following details on the different options. - Create a program that will Register the user from the library. The program should determine if the added user is a teacher or a student. - Here are the details you need in order to register the user. -- Complete Name -- ID Number -- Address -- Contact information -- Email Address -- Birthday(mm/dd/yy)- Create a program that add books to the library system.Details on the books are as follows: -- Book title/name-- Description-- Author-- Category(e.i science, math, English, history, etc..)-- Quantity- Create a program that lists or displays all books added to the system. Display the details of the books.- Create a program…arrow_forwardBriefly describe the microprogram.aarrow_forwardC++ What one topic did you learn about that was most noteworthy What was your favorite topic? What was your least favorite topic? Why? What other topics (s) would you like to see covered in this course(c++)? What topic(s) would you like to see removed from the course?arrow_forward
- USE C++ OR JAVA --- POST SOURCE CODE WILL ONLY UPVOTE IF CORRECT NO TIME CONSTRAINT --------------------------------------------------------------------------------------------------- Create a simple program that plays poker 1000 times with the following rules: Each time the program will: Shuffle the 52-card deck and deal yourself 5 cards. Using the remaining 47 cards, deal other 5 players their 5 cards. Determine if your hand would win or lose compared to the others. (Poker hands ranking listed below for reference) Your program will produce 2 output files (1000 entries): A session log output as a CSV (comma-separated value) file, with each hand (you and 5 other hands) on a separate line. For each hand: Output the cards in the hand; what the hand was evaluated as; and its winning percentage. A summary showing the percentage of hands falling into each rank, and the overall win percentage for each rank, as a ‘normal’ text file.…arrow_forwardHi! Please may you write a programming code in C Language, using the instructions in the question attached. Please use either : Microsoft visual studio 2019 or an Online Replit C compiler to do the coding. Thank you very much! If you could also write additonal notes on how you completed the code, that will be really appreciated.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