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
Draw a Conventional Flowchart based on the given below. in COBOL language
GIVEN: A FILE OF SALESMEN
INPUTRECORD SALESMAN NUMBER, SALES NAME, SALES AMOUNT
REQUIREMENTS: WRITE SALESMAN NUMBER, SALESMAN NAME AND SALES AMOUNT. AT END OF FILE (EOF), WRITE THE TOTAL NUMBER OF SALESMAN AND THE TOTAL ACCUMULATED SALES.
SAMPLE INPUT AND OUTPUT FILE:
001 TAYLOR SWIFT 2000000 002 EZEKIAH JAMES BLAIR 5000000 003 MARIA GOMES 0500000 |
001 TAYLOR SWIFT 20,000.00 002 EZEKIAH JAMES BLAIR 50,000.00 003 MARIA GOMES 5,000.00
TOTAL NUMBER OF SALESMAN: 3 TOTAL ACCUMULATED SALES: 75,000.00 |
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 2 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
- Translator Write a program that deals a number of cards (their numerical values) to a player's hand. To begin, the program asks the player for the values of the deck of cards to realize the program in c language. Then, the program deals the first two cards of the deck to a player's hand, and asks him if he wants another card. If he does not want a card, the program ends. If he wants a card, the program deals the next available card in the deck, adds it to the player's hand, and asks the player if he wants another card. The dealing process repeats as long as the user continues to accept cards, or until the cards in the deck run out. Card dealing involves copying the available card from the deck vector to another vector, which stores the player's hand, at the next available position. Assume that the deck of cards consists of only 10 cards with numerical values from 1 to 10, which the player will enter by keyboard before the program deals. The following functions…arrow_forwardNumbers that are the same as the direction of reading when they are read backwards and straight are called Palindromic numbers. Write a C program that writes to the screen whether a number entered by the user is a palindromic number. The part that finds the palindromic number will be written as a function and the Pointer will be used. Example: 101,232,3663,8008, etc.arrow_forwardC PROGRAM Create a c program that will convert number figures into words 1. You can use user-defined functions, string, array, and loops 2. Maximum input limit is 10000.00 Sample output (bold letters is for input) Enter amount in Peso: 143.50 You just entered P145.50 equivalent to One Hundred Forty Three and Fifty Centavos. Do you want to convert another amount? [Y|N]: Narrow_forward
- In C language create a function to display all the leap years between two given years passed as input parameters to the function. If there is no leap year in the given period, print a suitable message. Note: Range of the two given years: ( 0 < year1 = year2 < 3,000). Test the function for values (1961, 1921)arrow_forwardNumber Pattern 4 (in c program) Print the pattern below given the value of n Input A single line containing the value of n 5 Output Multiple lines following a pattern. Take note that the maximum number in the pattern is 9 and the minimum number is 1 98765 87654 76543 65432 54321arrow_forwardc structurearrow_forward
- WAP C++ program, in which the user inputs a character value, and the program prints "Digit" in the output if the character is a digit, prints "Alphabet" if the character is an alphabet. Otherwise, the program, prints "Other".arrow_forward1. Use C PROGRAMMING LANGUAGE ONLY 2. Use RECURSION type of program 3. Copy and paste your code (no need screenshot) 4. Screenshot the output 5. It should be USER-DEPENDENT 4. The Fibonacci series: 0, 1, 1, 2,3,5,8,13,21... begins with terms 0 and 1 and has the property that each succeeding term is the sum of the two previous terms. Write a program containing a recursive function that computes and displays the nth Fibonacci number, given the value for n.arrow_forwardNote: Please answer in C++ Programming language. During Eid, it is a tradition for every father to give his children money to spend on entertainment. Chef has N coins; denote the value of the coin i by vi. Since today is Eid, Chef gives one coin to each of his two children. He wants the absolute value of the difference between the values of the coins given to the two children to be as small as possible to be as fair as possible. Help the chef by telling him the minimum possible difference between the values of the coins given to the two children. Of course, the chef cannot give the same coin to both children. Possible input 1 3 142 Required Output 1arrow_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