Programming C++ As a programmer, someone requested you to make a receipt of orders in Starbucks such as, Cappuccino (tall) ₱140.00 Cappuccino (grande) ₱155.00 Cappuccino (venti) ₱170.00 Black Tea Latte (tall) ₱140.00 Black Tea Latte (grande) ₱155.00 The total amount of orders is 760 pesos and the customer gives 1000 pesos so the exchange is 240. Give the source code that you will use for the receipt.
Q: What properties do network designs have? Explain your response.
A: When it comes to the physical infrastructure, networks must be able to handle a diverse range of…
Q: Traditional file processing has been replaced by a database system. As a result of this new database…
A: Minimal Database Redundancy: A database management system (DBMS) is a logically ordered collection…
Q: Is it ever clear what someone meant when they said they wanted a 4G or 5G phone network?
A: Intro 5G: The fifth generation of mobile networks is in development, colloquially referred to as…
Q: In what ways is software engineering important in the creation of software?
A: Software engineering is important because specific software is needed in almost every industry, in…
Q: Toll roads have different fees at different times of the day and on weekends. Write a function…
A:
Q: a. What are the characteristics/criteria for Big Data Projects (not Big Data)? b. Explain and detail…
A:
Q: Throughout the semester, we defined techniques and the SDLC. The SDLC and software engineering…
A: SDLC: SDLC is the practise of breaking down software development work into different stages in order…
Q: Can we implement Data Processing Cycle inamanual procedure? Why or why not?
A: Data processing cycle can be defined as the cycle or the stage which is used to analyse and extract…
Q: Describe why you would use embedded SQL instead of just SQL or a general-purpose programming…
A: What is the use of SQL in programming? SQL (/ ˌɛsˌkjuːˈɛl / (listen) S-Q-L, / ˈsiːkwəl / Structured…
Q: How do computers and other electrical gadgets talk
A: Ethernet : Ethernet is a standard protocol that allows many computers to communicate with one…
Q: When a fake argument is used in a unary operator function, how does the compiler perceive it?
A: Introduction: There is just one parameter to a unary function. There are many different types of…
Q: Examine the opposing viewpoints on how to define "information technology." Which of them (in terms…
A: Informatics, often known as information technology, uses computers and telecommunications systems to…
Q: Make a list of legacy system kinds and development plans for each.
A: Intro Firstly we understand what is legacy system: A legacy system is outdated computing software…
Q: Do we need to have a thorough discussion of various security management ideas and the principles…
A: INTRODUCTION: Here we need to tell Do we need to have a thorough discussion of various security…
Q: Response time, transaction success rate, and system availability are all important Web site…
A: Introduction: In today's world, everyone prefers to do things online because it lowers paper work,…
Q: Suppose DH contains (6B) 16 hexadecimal, AH=(CB) 16 , CF=1, and CL contains 5, What are the values…
A: Solution:-
Q: List at least three types of information that should be included in a program's internal…
A: Intro three types of information that should be included in a program's internal documentation.
Q: What three data abnormalities are caused by data redundancy? How to get rid of these anomalies
A: Introduction: Anomalies in data are discrepancies in data that occur due to a database action such…
Q: a microprocessor of 32 bit addresses, the tag length will change if we design a two-way…
A: A 2 way set associative cache means total number of block inside each set is 2 A 4 way set…
Q: Determine the kind of cable that will connect the switch and router. Which gadget is used to join…
A: Basics A cable is at least one wire that is covered in plastic and used to transmit force or data…
Q: In terms of information technology, what are some of the most recent advancements?
A: Infrastructure: It refers to the facilities and services required by a firm. Included are utilities…
Q: Give a quick explanation of what a text-based voice over IP protocol (VoIP) is.
A: Internet Protocol: The Internet Protocol (IP for short) is the most important protocol in the…
Q: What are some of the most effective techniques of firewall management? Explain.
A: Introduction: A firewall is a type of security system that protects a computer from unidentified…
Q: What three data abnormalities are caused by data redundancy? How to get rid of these anomalies
A: Introduction: In data, anomalies arise when there are disparities in data that occur as a result of…
Q: Assume you are a systems analyst for a consulting company and have been asked to assist the chief…
A: Software automation can reduce a lot of procedural steps in a process.
Q: What exactly is a computer network? What are the primary applications of a computer network?
A: Introduction: A computer network is a collection of devices that are linked together. A node can be…
Q: Write a program using one-dimensional array that searches a number if it is found on the list of the…
A: I provide the code in Python along with output and code screenshot
Q: What is the Conceptual Framework for Cybercrime? Please include sources in your response.
A: Introduction:- => The Internet is frequently dependent on the daily lives of many individuals,…
Q: What are some of the many cybercrime theories? If you have any further information, please provide…
A: cybercrime theories: After all, these theories are meant to explain crimes committed in the "real…
Q: The benefits of spreadsheets and paper-based records outweigh the disadvantages of database systems…
A: Database Systems: Database Systems/Database Management Systems (DBMS) is software that collects…
Q: An answer to the question, "What exactly is a data warehouse?" Besides that, what is the aim of a…
A: Encryption: As we all know, data warehouses are critical in business analytics. The future has…
Q: The Agile Manifesto guides the Agile Group of Software Engineers. Make mention of the Agile…
A: Introduction: When it comes to software development, the Agile Manifesto is made of four basic…
Q: Which of the following is an appropriate component to consider during the design of the system…
A: Intro Which of the following is an appropriate component to consider during the design of the system…
Q: What do you mean by "the Internet of Things" and "the wireless revolution"?
A: The Internet of Things (IoT): The Internet of Things (IoT) is a network of physical…
Q: What exactly is a language with a block structure?
A: Introduction: Blocks that have been constructed by Block Block languages are a type of high-level…
Q: Step-by-step instructions for converting RGB to HIS colour.
A: RGB to HIS color transformation 1. Read the RGB image using the ‘imread’ function.2. Each RGB…
Q: "In formation technology is a benefit," compose a brief paragraph.
A: Information technology: Information technology (IT) is the creation, processing, storage, security,…
Q: Explain the distinction between top-down and bottom-up processing. Please give an example.
A: Top-down processing The development of pattern recognition through the utilization of contextual…
Q: a) Write an assembly program using MARIE's assembly Instruction set that prompts the user to enter a…
A:
Q: Include four distinct kinds of external disk interfaces in your list.
A: Four distinct external disk interface
Q: What is the significance of fine-grained multithreading?
A: Introduction: What is the significance of fine-grained multithreading?
Q: Justify the use of a request for proposal to get hardware and system software details.
A: A request for proposal is also known as RFP.
Q: What distinguishes a data member from a local variable?
A: What distinguishes a data member from a local variable?
Q: What exactly is gradual development?
A: Introduction: The Process of Incremental Development
Q: Computer science The CISO contacts the interns who appear to be breaching many security standards.
A: Introduction: Security: Security is an important part of many companies. Every firm has a certain…
Q: List and describe three approaches used in modern computer systems to increase overall system…
A: Intro List and describe three approaches used in modern computer systems to increase overall…
Q: Why is security required in business, and what are the repercussions of failing to offer security?
A: Introduction: Comprehensive workplace security is critical because it reduces liability, insurance,…
Q: Computer science Why will we study any business model, and how will our business solution provide…
A: Introduction: Every day, more and more data sources become accessible. This may be a positive thing…
Q: Discuss why a business could want to use a distinct, independent team for quality testing instead of…
A: Answer: When we talk about testing then organizations always prefer independent testing because in…
Q: Compose a filter (program) that reads integers from an input stream and writes it to an output…
A: Algorithm to check and print positive number Take input i.e. value as integer. Check whether it is…
As a programmer, someone requested you to make a receipt of orders in Starbucks such as,
Cappuccino (tall) | ₱140.00 |
Cappuccino (grande) | ₱155.00 |
Cappuccino (venti) | ₱170.00 |
Black Tea Latte (tall) | ₱140.00 |
Black Tea Latte (grande) | ₱155.00 |
The total amount of orders is 760 pesos and the customer gives 1000 pesos so the exchange is 240.
Give the source code that you will use for the receipt.
Step by step
Solved in 4 steps with 2 images
- (Data processing) Your professor has asked you to write a C++ program that determines grades at the end of the semester. For each student, identified by an integer number between 1 and 60, four exam grades must be kept, and two final grade averages must be computed. The first grade average is simply the average of all four grades. The second grade average is computed by weighting the four grades as follows: The first grade gets a weight of 0.2, the second grade gets a weight of 0.3, the third grade gets a weight of 0.3, and the fourth grade gets a weight of 0.2. That is, the final grade is computed as follows: 0.2grade1+0.3grade2+0.3grade3+0.2grade4 Using this information, construct a 60-by-7 two-dimensional array, in which the first column is used for the student number, the next four columns for the grades, and the last two columns for the computed final grades. The program’s output should be a display of the data in the completed array. For testing purposes, the professor has provided the following data:C++ Programming Exercise: When you borrow money to buy a house, a car, or for some other purpose, you repay the loan by making periodic payments over a certain period of time. Of course, the lending company will charge interest on the loan. Every periodic payment consists of the interest on the loan and the payment toward the principal amount. To be specific, suppose that you borrow $1,000 at an interest rate of 7.2% per year and the payments are monthly. Suppose that your monthly payment is $25. Now, the interest is 7.2% per year and the payments are monthly, so the interest rate per month is 7.2/12 = 0.6%. The first month's interest on $1,000 is 1000 X 0.006 = 6. Becuase the payment is $25 and the interest of the first month is $6, the payment toward the principal amount is 25-6 = 19. This means after making the first payment, the loan amount is 1,000-19 = 981. For the second payment, the interest is calculated on $981. So the interest for the second month is 981 X 0.006 = 5.886,…Solution is needed in C# Language please! You are tasked with writing a program to process students’ end of semester marks. For each student you must enter into your program the student’s id number (an integer), followed by their mark (an integer out of 100) in 4 courses. A student number of 0 indicates the end of the data. A student moves on to the next semester if the average of their 4 courses is at least 60 (greater than or equal to 60). Write a program to read the data and print, for each student: The student number, the marks obtained in each course, final mark of the student (average of all the marks), their final grade (A,B,C,D or F) and whether or not they move on to the next semester. In addition, after all data entry is completed, print The number of students who move on to the next semester and the number who do not. The student with the highest final mark (ignore the possibility of a tie). Grades are calculated as follows: A = 70 and over, B = 60 (inclusive) -70,…
- C LANGUAGEA private railway company has just purchased a computer for its new automated reservationssystem. You have been asked to write a program to assign seats on each train of the railway havingonly (capacity: 100 seats). Your program should check whether it is a valid seat number or not.Also print its berth type i.e lower berth, middle berth, upper berth, side lower berth, side upperberth. Furthermore, then print a ticket indicating the person's seat number and whether it’s in the firstclass or economy section of the train. Use a single-subscripted array to represent the seating chartof the train. Initialize all the elements of the array to 0 to indicate that all seats are empty. As eachseat is assigned, set the corresponding element of the array to 1 to indicate that the seat is no longeravailable.C++ programming It has been observed by management that some faculty member at the university demonstrates a lackadaisical attitude toward work. They seldom go to class yet at the end of each month they receive full salary. Management has decided that GHs 200, 300, 400, and 500 will be deducted from a faculty’s salary if he/she offends once, twice, third time and forth time respectively in a month. This means that if a faculty member offends once in a month GHs 200 will be deducted, if a faculty member offends twice in a month, GHs 500 (i.e. 200+300) will be deducted, if a faculty member offends three times in a month GHs 900 (i.e.200+300+400), will be deducted and if a faculty member offends four times in a month GHs 1,400 (i.e. 200+300+400+500). Assuming all faculty members are on a flat salary rate of GHs 2500. a. Write a program to request for the names of four faculty members and number times he/she has absented him/herself from class. One of them should have absented him/herself…C++ Language code and explain Zodiac Sign Identifier - Ask the user's birth month and birth day and return the corresponding Zodiac Sign he/she belongs: Evaluate the user's birth month and day by checking the following: If born from, Mar 21 to Apr 19 - Aries Apr 20 to May 20 - Taurus May 21 to Jun 20 - Gemini Jun 21 to Jul 22 - Cancer Jul 23 to Aug 22 - Leo Aug 23 to Sep 22 - Virgo Sep 23 to Oct 22 - Libra Oct 23 to Nov 21 - Scorpio Nov 22 to Dec 21 - Sagittarius Dec 22 to Jan 19 - Capricorn Jan 20 to Feb 18 - Aquarius Feb 19 to Mar 20 - Pisces Example: What is your month of birth? 1 - January (31 days) 2 - February (27 days, if Leap Year 28 days) 3 - March (31 days) 4 - April (30 days) 5 - May (31 days) 6 - June (30 days) 7 - July (31 days) 8 - August (31 days) 9 - September (30 days) 10 - October (31 days) 11 - November (30 days) 12 - December (31 days) Please enter your birth month: 8 Please enter day of your birth: 16 Please enter your year of birth: 1997 Your birthday is every…
- Needs to be done in C# language. Problem Write a program that computes and displays the charges for a patient’s hospital stay. First, the program should ask if the patient was admitted as an in-patient or an out-patient. If the patient was an in-patient, the following data should be entered: • The number of days spent in the hospital• The daily rate• Hospital medication charges• Charges for hospital services (lab tests, etc.) The program should ask for the following data if the patient was an out-patient: • Charges for hospital services (lab tests, etc.)• Hospital medication charges The program should use two overloaded functions to calculate the total charges. One of the functions should accept arguments for the in-patient data, while the other function accepts arguments for out-patient information. Both functions should return the total charges. Input Validation: Do not accept negative numbers for any data.c++ Implement a feature that recursively calculates how many drinks you can buy. You get three input parameters: money: how much money you have to buy drinks for.price: how much a drink costs.deposit rate: how many empty cans you can deposit to get a new drink. Example:money = 16, price = 2, deposit rate = 2 You buy 8 drinks for your money (16/2 = 8). You return 8 cans and get 4 drinks. You return 4 cans and get 2 drinks. You return 2 cans and get 1 drink. result: 15 drinks Example 2: money = 15, price = 1, deposit rate = 3You buy 15 drinks for your money. You return 15 cans and get 5 drinks. You return 3 cans (2 cans left) and get 1 drink. You return 3 cans and get 1 drink. result: 22 drinks Input Expected output16 2 2 1515 1 3 22C++ Banks offer various types of accounts, such as savings, checking, certificates ofdeposit, and money market, to attract customers as well as meet their specificneeds. Two of the most commonly used accounts are savings and checking.Each of these accounts has various options. For example, you may have a savingsaccount that requires no minimum balance but has a lower interest rate.Similarly, you may have a checking account that limits the number of checksyou may write. Another type of account that is used to save money for the longterm is certificate of deposit (CD).
- 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…in c++ In recording scores for a golf tournament, we enter the name and score of the player as the player finishes. This information is to be retrieved in each of the following ways: Scores and names can be printed in order by ascending or by descending scores. Given the name of a player, other players with the same score can be printed. For that we have to design a structure which keeps the information in a way that each player has information of the player next to it and the one behind it as well. Implement the above scenario using an appropriate data structure. Your Application should do the following Add new Player ( it should insert values in sorted order) Delete a player ( user enters name of player to be deleted) Display whole list (all players with their scores Display player with lowest scores in the list. Display all those players having same score entered by user. Display Backward From a player ( it should print data of all the players behind a player)c++ Banks offer various types of accounts, such as savings, checking, certificates of deposit, and money market, to attract customers as well as meet their specific needs. Two of the most commonly used accounts are savings and checking. Each of these accounts has various options. For example, you may have a savings account that requires no minimum balance but has a lower interest rate. Similarly, you may have a checking account that limits the number of checks you may write. Another type of account that is used to save money for the long term is certificate of deposit (CD).