COMMAND MENU view - View sales for specified month edit - Edit sales for specified month totals - View sales summary for year exit - Exit program
Q: With the spreadsheet setup shown and if the user enters 2 in the input box, what value will result i...
A: Value will be 7.
Q: When a and b are natural numbers we usually say that "b fits q times in a and subtract r". This sent...
A: 1)Read a,b numbers 2)Assign r=a , q=0 3)use while loop until r>=b and increase count q to count...
Q: Are algorithms subject to patent protection?
A: Answer: It's possible to protect your work as either a copyright or a patent when you transform a "a...
Q: Consider the following Python program (note that Python uses indentation to specify scope): e1e X- 1...
A: Solution:
Q: 2. Write a program: A. That is able to compute some operations on an integer. The program writes the...
A: The program is a C++ program which demonstrates use of switch case and while loop.
Q: build a flowchart for this programming exercise the area of a rectangle is calculated according to t...
A: A flowchart is work flow of any logical program or algorithm which is represented using diagram. Flo...
Q: The is a part of a functi .header that identifies the fun function narameter:
A: The is a part of a function header that identifies the function function parameters function nam...
Q: 3. Write an algorithm and draw a flow chart to accept the weight and the height. Then calculate the ...
A: BMI ( body mass index ) is a measurement to check if a person is healthy, overweight, or underweight...
Q: With function: void swapNum(int n1, int n2) { int temp = n%; %3D n1 = n2; n2 = temp; %3D And with a=...
A: Swapping two number in C programming language means exchanging the values of two variables.
Q: Re-write this piece of code using recursion: You will ONLY output the value 15 to the screen, not in...
A: we need to provide c++ recursive function for sum of natural number .
Q: ry out algorithmic task
A: given - vent-driven programs: do they carry out algorithmic tasks
Q: convert 512 (base10) to equivalent base 26 number. Show your work.
A: A number can be denoted using a base notation. The types of notations are octal, decimal, binary, he...
Q: How can I find out the Wifi security for the type of security: It's possible to use WPA2-enterprise ...
A: You can undoubtedly know what security type yours wifi network utilizes, contingent on the gadget yo...
Q: public void toggleFirstSwitch() { firstSwitchState = (firstSwitchState == 1) ? (0) : (1); lampState ...
A: Answers class Circuit{ private int firstSwitchState = 0; private int secondSwitchState = 0; ...
Q: Implement a Java program for the class diagram given below. Use the concept of inheritance and write...
A: class Transaction{ String Type; void type(String Type) { this.Type=Type; Syst...
Q: It is a software library of numerical analysis routines, containing more than 1,700 mathematical and...
A: NAG Numerical Library: It is a software product developed and sold by The Numerical Algorithms Grou...
Q: Is it possible to define the aim of application software?
A: Yes it is possible to to define the aim of application software.
Q: int quiz-I Cint n) f int ij, sum = o; for li-2;, i en; i#) {. for Cjpe; je is; j#){ Sum"? sum ?; TG)...
A: Te answer is given below:--
Q: Transcribed Image Text:This is about radiated media communication, microwave communication vs satell...
A: Answer: Short-range communications are carried out using microwaves, whilst long-distance communica...
Q: Increased worker specialisation coupled with increased levels of production may result in worker de-...
A: Demotivation: Demotivation is a powerfully negative deed that may cause a person to lose interest in...
Q: Create the following SQL queries, referencing the university schema as a starting point. Find the lo...
A: Structural Query Language (SQL) is a language that is utilised by databases. Tables and associated o...
Q: NIMS has both strengths and weaknesses when it comes to crisis communication. No, I can't think of o...
A: Introduction: NIMS (National Event Management System) is a comprehensive, logical approach to incide...
Q: eate a firewall rule for sales to block a specific port. Which port are you blocking? Which protocol...
A: Lets see the solution.
Q: What is computer
A: A device that has the ability of storing information, playing audio and video, doing logical computa...
Q: Given, the language L={awa|wE{a,b}*}. Show that the language L2={aw1aaw2a|w1,w2E{a,b}*} is regular.
A: Answer: I have given answered in the handwritten format in brief explanation
Q: Write a program to find the area of circle. The radio "r" will be input by user. The program output ...
A: Assembly language: Assembly language is a low level programming language. Assembly language is used ...
Q: Explain why each of the three design goals for relational databases is desirable.
A: Answer: Schema design objectives for relational databases should include the following: In an effor...
Q: A balanced scorecard may help managers make informed decisions by providing them with information th...
A: A balanced scorecard is a strategic management performance metric that helps companies identify and ...
Q: The Google search engine has a capability that allows web sites to show Google adverts. The advertis...
A: Google Ads focuses at text, language, link structure, and page structure while evaluating web conten...
Q: What are virtual learning environments, and how do they differ from traditional classroom settings?
A: Introduction : Technology for Education: The use of software, hardware, and networks to support and ...
Q: ase Suppose that you defined the following activity in your project: public class FooActivity exte...
A: Lets see the solution.
Q: Show, with the help of timing diagrams, how the binary data 101101 will be transmitted using the fol...
A: Timing Diagram A timing diagram is a special form of a sequence diagram. The differences between t...
Q: Assume you're working on a new word processor with more functionality thán any of your rivais. What ...
A: INTRODUCTION: A word processor is software or a piece of hardware that lets people make, change, and...
Q: Why would we choose a non-BCNF design for a relational database?
A: Why would we choose a non-BCNF design for a relational database?
Q: What exactly is a heuristic, and how is it distinct from an algorithm?
A: Heuristic is a technique which is designed for solving problems more quickly and find the solution. ...
Q: When utilizing a logic programming language such as Prolog to tackle computing problems, what are th...
A: Prolog can solve many different problems efficiently and I have mentioned that below :
Q: If you want to work in finance, is mathematics a su
A: If you want to work in finance is mathematics a suitable major to pursue? Answer: Yes Mathematics a...
Q: Consider the following two entity sets: A and B, both of which have the attribute X. (among others w...
A: Introduction: An entity set is a group or collection of 'entities' with the same characteristics. I...
Q: When utilizing a logic programming language such as Prolog to tackle computing problems, what are th...
A: Prolog is the main protagonist of the rational program, the type of program that announces. In ratio...
Q: Why would we choose a non-BCNF design for a relational database?
A: Introduction: We pick a non-BCNF architecture for a relational database since, in many circumstances...
Q: Distinguish between divide-and-conquer tactics, dynamic programming, and greedy approaches
A: SUMMARY: - Hence, we discussed all the points.
Q: Alice and Bob use the ElGamal scheme with a common prime q = 131 and a primitive root a = 6. Let Bob...
A: Answer is given below-
Q: Define and explain the distinction between integrity restrictions and authorisation restrictions.
A: Introduction: Data integrity is the act of ensuring the correctness and consistency of data througho...
Q: True or false? An organization should periodically conduct an inspection of its systems and practice...
A: Introduction: True or false? An organization should periodically conduct an inspection of its system...
Q: Write a script which prompts the user to enter a date (day and month as integers) of the Gregorian c...
A: NOTE - I have used the Python programming language. I have created a function named validateDay(), t...
Q: What is the greatest trading technique for a rookie forex investor that is largely interested in alg...
A: the answer is given below:-
Q: NFAs for the following: The set set of strongs over alphabet (a, b, c) such that the last symbol in ...
A: The term, “NFA” stands for “Non-Finite Automata”. It is used to represent a language that is itself ...
Q: Give the advantage for each of the following. 1-M.O&M.O*. 2-Electronegativity. 3- Metalic bonds. 4-S...
A: Here, I have to write the advantages for the given question.
Q: (i) All comparison based sorting algorithms have the same worst case running time.
A: As per company guidelines we are suppose to answer only 1 question. Kindly re-post other questions ...
Q: Instructions: Identify the following if it is UNIQUE IDENTIFIER or NOT. Company / Organization Name...
A: INTRODUCTION: A unique identifier is one that is guaranteed to be distinct from all other identifie...
For the following program :
Monthly Sales
Console
Specifications
- The program should use a map to store the sales data for each month with the three-letter abbreviation for the month (Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, and Dec) as the key for each item.
- When the program starts, it should read the sales data inserted from the user.
- If the user edits the sales data, the program should edit the data.
Note: You didn't mention any programming language. So I use C language.
C program:
C is a middle level programming language because it combines both high level language and low level language.
C follows top-down approach.
Trending now
This is a popular solution!
Step by step
Solved in 2 steps
- In CPP: Monthly Sales Create a program that allows you to view and edit the sales amounts for each month of the current year. Console Monthly Sales program COMMAND MENU view - View sales for specified month edit - Edit sales for specified month totals - View sales summary for year exit - Exit program Command: view Three-letter Month: jan Sales amount for Jan is 14,317.00. Command: edit Three-letter Month: jan Sales Amount: 15293 Sales amount for Jan is 15,293.00. Command: totals Yearly total: 77,786.71 Monthly average: 6,482.23 Command: view Three-letter Month: july Invalid three-letter month. Command: exit Bye! Specifications The program should use a map to store the sales data for each month with the three-letter abbreviation for the month (Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, and Dec) as the key for each item. When the program starts, it should read the sales data inserted from the user. If the user edits the sales data, the…Monthly Sales Create a program that allows you to view and edit the sales amounts for each month of the current year. Example COMMAND MENU add - Add sales for specified month view - View sales for specified month edit - Edit sales for specified month totals - View sales summary for year exit - Exit program Command: add Three-letter Month: jan Sales Amount: 10317 Sales amount for Jan is 10,317.00. Command: add Three-letter Month: feb Sales Amount: 15293 Sales amount for Jan is 15,293.00. Command: view Three-letter Month: jan Sales Amount: 14317 Sales amount for Jan is 14,317.00. Command: edit Three-letter Month: jan Sales amount for Jan is 14,317.00. Command: totals Yearly total: 29,610.00 Monthly average: 14,805.00 Command: view Three-letter Month: july Invalid three-letter month. Command: exit Bye! Specifications The program should use a list to store the sales data for each month with the three-letter abbreviation for the month (Jan,…Monthly Sales program COMMAND MENU view - View sales for specified month edit - Edit sales for specified month totals - View sales summary for year exit - Exit program Command: view Three-letter Month: jan Sales amount for Jan is 14,317.00. Command: edit Three-letter Month: jan Sales Amount: 15293 Sales amount for Jan is 15,293.00. Command: totals Yearly total: 77,786.71 Monthly average: 6,482.23 Command: view Three-letter Month: july Invalid three-letter month. Command: exit Bye! Specifications The program should use a list to store the sales data for each month with the three-letter abbreviation for the month (Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, and Dec) as the key for each item. Make sure your program uses map to store each month to use as a key Provide pseudocode Use c++ When the program starts, it should read the sales data inserted from the user. If the user edits the sales data, the program should edit the data.
- Monthly Sales Create a program that allows you to view and edit the sales amounts for each month of the current year. Console Monthly Sales program COMMAND MENU add - Add sales for specified month view - View sales for specified month edit - Edit sales for specified month totals - View sales summary for year exit - Exit program Command: add Three-letter Month: jan Sales Amount: 10317 Sales amount for Jan is 10,317.00. Command: add Three-letter Month: feb Sales Amount: 15293 Sales amount for Jan is 15,293.00. Command: view Three-letter Month: jan Sales Amount: 14317 Sales amount for Jan is 14,317.00. Command: edit Three-letter Month: jan Sales amount for Jan is 14,317.00. Command: totals Yearly total: 29,610.00 Monthly average: 14,805.00 Command: view Three-letter Month: july Invalid three-letter month. Command: exit Bye! Specifications The program should use a list to store the sales data for each month with the three-letter abbreviation…Monthly Sales program COMMAND MENU view - View sales for specified month edit - Edit sales for specified month totals - View sales summary for year exit - Exit program Command: view Three-letter Month: jan Sales amount for Jan is 14,317.00. Command: edit Three-letter Month: jan Sales Amount: 15293 Sales amount for Jan is 15,293.00. Command: totals Yearly total: 77,786.71 Monthly average: 6,482.23 Command: view Three-letter Month: july Invalid three-letter month. Command: exit Bye! Specifications The program should use a list to store the sales data for each month with the three-letter abbreviation for the month (Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, and Dec) as the key for each item. Make sure your program uses map to store each month to use as a key Provide pseudocode Must use c++ Must use the map function to store month as a key for each item When the program starts, it should read the sales data inserted from the user. If the user…Create a program that allows you to view and edit the sales amounts for each month of the current year. Console Monthly Sales program COMMAND MENU add - Add sales for specified month view - View sales for specified month edit - Edit sales for specified month totals - View sales summary for year exit - Exit program Command: add Three-letter Month: jan Sales Amount: 10317 Sales amount for Jan is 10,317.00. Command: add Three-letter Month: feb Sales Amount: 15293 Sales amount for Jan is 15,293.00. Command: view Three-letter Month: jan Sales Amount: 14317 Sales amount for Jan is 14,317.00. Command: edit Three-letter Month: jan Sales amount for Jan is 14,317.00. Command: totals Yearly total: 29,610.00 Monthly average: 14,805.00 Command: view Three-letter Month: july Invalid three-letter month. Command: exit Bye! Specifications The program should use a list to store the sales data for each month with the three-letter abbreviation for the month…
- Create a program that allows you to view and edit the sales amounts for each month of the current year. Example of how the program should look: Console Monthly Sales program COMMAND MENU add - Add sales for a specified month view - View sales for specified month edit - Edit sales for specified month totals - View sales summary for the year exit - Exit program Command: add Three-letter Month: jan Sales Amount: 10317 Sales amount for Jan is 10,317.00. Command: add Three-letter Month: feb Sales Amount: 15293 Sales amount for Jan is 15,293.00. Command: view Three-letter Month: jan Sales Amount: 14317 Sales amount for Jan is 14,317.00. Command: edit Three-letter Month: jan Sales amount for Jan is 14,317.00. Command: totals Yearly total: 29,610.00 Monthly average: 14,805.00 Command: view Three-letter Month: july Invalid three-letter month. Command: exit Bye! Requirements for the program: The program should use a list to store the sales…Create a program that allows you to view and edit the sales amounts for each month of the current year. Console Monthly Sales program COMMAND MENU add - Add sales for specified month view - View sales for specified month edit - Edit sales for specified month totals - View sales summary for year exit - Exit program Command: add Three-letter Month: jan Sales Amount: 10317 Sales amount for Jan is 10,317.00. Command: add Three-letter Month: feb Sales Amount: 15293 Sales amount for Jan is 15,293.00. Command: view Three-letter Month: jan Sales Amount: 14317 Sales amount for Jan is 14,317.00. Command: edit Three-letter Month: jan Sales amount for Jan is 14,317.00. Command: totals Yearly total: 29,610.00 Monthly average: 14,805.00 Command: view Three-letter Month: july Invalid three-letter month. Command: exit Bye! Specifications The program should use a list to store the sales data for each month with the three-letter abbreviation for the month…Monthly Sales Create a program that allows you to view and edit the sales amounts for each month of the current year. Console Monthly Sales program COMMAND MENU view - View sales for specified month edit - Edit sales for specified month totals - View sales summary for year exit - Exit program Command: view Three-letter Month: jan Sales amount for Jan is 14,317.00. Command: edit Three-letter Month: jan Sales Amount: 15293 Sales amount for Jan is 15,293.00. Command: totals Yearly total: 77,786.71 Monthly average: 6,482.23 Command: view Three-letter Month: july Invalid three-letter month. Command: exit Bye! Specifications The program should use a map to store the sales data for each month with the three-letter abbreviation for the month (Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, and Dec) as the key for each item. When the program starts, it should read the sales data inserted from the user. If the user edits the sales data, the program…
- Inheritance and Polymorphism This assignment starts with the Account class from Labs 4 and 5. Our new and improved bank has two kinds of accounts, savings, and checking. In addition to an ID and a balance, savings accounts have an annual interest rate and a minimum balance. Checking accounts have a minimum balance and a monthly fee. Withdrawals and deposits can be made to both kinds of accounts. At the end of each month, savings accounts pay interest, but only if the account's balance is above the minimum. Also at the end of each month, a fee is deducted from each checking account, but the fee is waived if the account's balance is over the minimum. Tasks 1. Create a complete UML diagram which shows the relationships between the three classes, Account, Savings, and Checking and all of the fields and methods in each. The only modifications required to the Account class is the addition of two abstract methods called closeMonth and accountString. 2. The closeMonth function performs the…Group 2/12 Problem – Population Create an application that predicts the approximate size of a population of organisms. The application should use textboxes to allow the user to enter the starting number of organisms, the average daily population increase (as a percentage), and the number of days the organisms will be left to multiply. Use a ListBox to display the population size for each day of the simulation. If the user clicks the Save button, save the current prediction to a file. Group 3/7 Problem – Dice SimulatorCreate a program that allows you to view and edit the sales amounts for each month of the current year. Console Monthly Sales program COMMAND MENU add - Add sales for specified month view - View sales for specified month edit - Edit sales for specified month totals - View sales summary for year exit - Exit program Command: add Three-letter Month: jan Sales Amount: 10317 Sales amount for Jan is 10,317.00. Command: add Three-letter Month: feb Sales Amount: 15293 Sales amount for Jan is 15,293.00. Command: view Three-letter Month: jan Sales Amount: 14317 Sales amount for Jan is 14,317.00. Command: edit Three-letter Month: jan Sales amount for Jan is 14,317.00. Command: totals Yearly total: 29,610.00 Monthly average: 14,805.00 Command: view Three-letter Month: july Invalid three-letter month. Command: exit Bye! Specifications The program should use a list to store the sales data for each month with the three-letter abbreviation for the month…