12-viritten Write a Python menu driven program to do the following: Display a menu with options. A. Read from a file the Grocery Items ID, Name, Quantity and Price B. Calculate the total for each item, Add them up for a grand total and calculate the tax (NYC is 8.75%) C. Write to an output file or screen quantity, price, tax and total for each item, sub-total, tax and grand total. (Just like a receipt you get from the store) D. Exit Please use the following data to create a text file or input data. ItemID Name Qty Price 10011 Avocado 5 2.50 10012 Tomato 6 3.75 10013 Orange 4 1.50 10014 Mango 6 1.75 10015 Grapes 5 2.50 You must upload code files, outdata file, picture of working program - jpg, png, bmp (upload all individual files same time, no zip) Your name must be in the code and remember comments
Q: The more time you devote to using social media, the more benefits you'll get from doing so. Two…
A: Encryption: A social networking service (also known as a social networking site) is an online…
Q: Simple Word Filter 1. Create a function that would accept two inputs: a sentence(string), and a list…
A: ANSWER:-
Q: 5- To print the result of the equation m=x+4d in the program, it is at next figure "print*,"m a…
A: The given question are multiple choice selected question.
Q: What exactly is the CAP theorem, as well as how does it work? In relation to NoSQL databases, what…
A: Given: The CAP theorem, which is also a known as Eric Brewer's theorem, is an argument that a…
Q: Give an explanation of what the term "Software Engineering" means. The paradigm of softw
A: The answer is
Q: What are some of the things that you might put in the abstract for the purpose of developing your…
A: Abstraction: An abstraction is a piece of the software that conceals low-level information in favor…
Q: Because of the characteristics that are inherent to them, wireless networks are susceptible to a…
A: Wireless networks: Wireless networks that are reliable and secure are becoming more important to the…
Q: Q. In sql how to fetch the records of all employees from a Employee table .
A: Select Statement: We use SELECT statement to fetch the data from a table. To fetch the all data use…
Q: What is the problem with the software engineering principles? explain?
A: The solution to the given question is: INTRODUCTION Keeping up with the hardware has been hard ,…
Q: I created a directory with 3 counties, states in that county, and the towns in that state, I need a…
A: Geocoding is the process of converting addresses (like "1600 Amphitheatre Parkway, Mountain View,…
Q: The Ubuntu Server Operating System is a server operating system that is based on Linux and is…
A: Ubuntu is pre-installed with everything necessary to run an organization, school, or even a…
Q: Are there any particular characteristics to look for in software development? How might these other…
A: Are there any particular characteristics to look for in software development? How might these other…
Q: What kinds of hardware are required for computers to interact with one another, especially when…
A: When two or more computers are linked, a network is formed. Data packets are used to send files…
Q: Describe the five different categorization strategies that Christopher Lovelock developed. Provide…
A: Deeds, cycles, and exhibits are all examples of services. However, the growing interest in the…
Q: Who has responsibility for ensuring that the internet is used in accordance with human rights…
A: In today's world most of the people are using internet for different purposes that including to…
Q: Seeing strangers on social media asking for financial aid or medical support makes you wonder how…
A: Social media: Social media refers to a computer-based technology that enables the sharing of ideas,…
Q: In the design of software systems, the non-functional aims of performance and security may seem to…
A: In the design of software systems, the non-functional aims of performance and security may seem to…
Q: When working remotely, what are some of the pros and cons of utilizing your own computer vs the…
A: Introduction: Personal computers have advantages and disadvantages when compared to business…
Q: Q. Write a Program to reverse a vector { 5, 85, 41, 7, 82, 9 } in c++ using STL.
A: It is a C++ programming question and is asking to reverse a vector using STL. Algorithm: Step 1:…
Q: This example might benefit from beginning with a database maintained by an airline that makes use of…
A: Consider a database system that employs snapshot isolation by an airline.
Q: 4. Design a four-input logic circuit is required to implement the Boolean function F(w, x, y, z)=…
A: Find Your Answer Below
Q: Exactly what is meant by the term "memory void"? What causes it, and how does the operating system…
A: Introduction: Void of memory: One method for allocating contiguous memory is to divide all available…
Q: Acquire as much information as possible about social media. What exactly is autonomous computing,…
A: Understand every aspect of social media. How can autonomous computing benefit the cloud computing…
Q: 4. Let = (1, 2, 1), 7 (-1,-1,2) and w= (0,3,2). Show that ü, 7 and w are linearly dependent or…
A:
Q: Should the owners of zombie computers be subject to fines or other types of sanctions in order to…
A: Zombie Computers: In the field of computers, a zombie machine is a computer connected to a network…
Q: Write a code to reverse string using reverse function in java
A: In this java based programming question, it is asking for code to reverse string using inbuilt…
Q: How should safety-related system definition and development be regulated by the professional…
A: This question explains about how should software engineer credentials and licenses control…
Q: Please enumerate the qualities that distinguish well-designed service systems.
A: A service system is an organization's setup of technology and other networks. It is done for the…
Q: When describing processes that are not included in a systems analysis, it is a good idea to give…
A: When describing processes that are not included in a systems analysis, it is beneficial to consider…
Q: Write a Java program to ask the user to enter three integers (using Scanner), send them into a…
A: Find Your Answer Below
Q: Should the operating system be more cautious in how it accesses the system when working with data…
A: Time-sharing: To properly use the structure, the OS may additionally include accounting code for…
Q: Explain what an ITS (Intelligent Traffic System) is and how it works
A: Intelligent Traffic Systems (ITS) are control and information systems that provide integrated…
Q: Do you know of any new risks to the Internet of Things?
A: Given: According to of the question, a Basic foundation, which includes government institutions,…
Q: the following regular expression (0+1)* (00+11) accept the language of * all strings of 0's and 1's…
A:
Q: studying the inner workings of computers to better understand the processes that make them so…
A: The use of computers in education: Computers are used to aid students' learning in a range of…
Q: What are the key distinctions between high-contact and low-contact service models?
A: A high-contact service is one in which the service provider and the client communicate directly with…
Q: It takes Google only one nanosecond to provide a response that includes millions of URLs that are…
A: Introduction: The pace of electron flow is clearly restricted by all modern PC gadget advancements.…
Q: Justify the usage of a request for proposal in order to get hardware and software specifications.
A: Answer:
Q: Why is it necessary for mobile applications to typically demand a lot of pages? How would you…
A: Mobile applications incorporates your watchwords, application name, symbol, depiction, screen…
Q: Which kind of firewall architecture is used the most often by companies today? Why? Explain.
A: Introduction: Here we are required to explain what kind of architecture is used the most often in…
Q: Fill in the missing words. CODE SNIPPET
A: Given:
Q: Q2) A DMS sends a message with alphabet size equal to 6 symbols at 100 symbols/secs. Symbol k is…
A: According to the information given:- We have to calculate the information rate and the transmission…
Q: Please provide a more in-depth explanation of the software development process metrics. Please…
A: Given: Software engineering is the a systematic application of engineering concepts to the creation…
Q: A firewall protects your computer from outside threats. Follow these instructions while using packet…
A: Firewall protects system from external threats.
Q: Identify ONE (1) difference between include_once() and require_once().
A: include_once() Function The include_once() function can include a PHP file in another when the…
Q: Operating systems have a large role in the meaning of the phrase "kernel mode."
A: Mode of the Kernel: The information about kernel mode and the numerous functions performed by…
Q: Define and explain the concept of cloud computing, as well as the many cloud models available.…
A: Computing in the cloud: Cloud computing is utilized when various services must be supplied through…
Q: Write a C PROGRAM that computes and prints the area of a rectangle given its length and width. Your…
A: I give the code in C along with output and code screenshot
Q: ram that counts how many vowels (a,e,i,o,u) character a user have entered, if the user enters a non…
A: We need to read in a character , then display whether it is a vowel or not.
Q: When describing processes that are not included in a systems analysis, it is a good idea to give…
A: Given: When describing processes that aren't part of a systems analysis, it's worth considering…
Trending now
This is a popular solution!
Step by step
Solved in 3 steps with 4 images
- Lap Timer Tool Write a program ON PYTHON that asks the user to enter the number of times that they have run around a racetrack, and then uses a loop to prompt them to enter the lap time for each of their laps. When the loop finishes, the program should display the time of their fastest lap, the time of their slowest lap, and their average lap time.Problem: A small company needs an interactive program to compute an employee’s paycheck. The payroll clerk will initially input the data, and given the input data, an employee's wage for the week should be displayed on the screen for the payroll check. The data for the employee includes the employee's hourly pay rate and the number of hours worked that week. Wage is equal to the employee's pay rate times the number of hours worked (up to 40 hours). If the employee worked more than 40 hours, wage is equal to the employee's pay rate times 40 hours plus 1½ times the employee's pay rate times the number of hours worked above 40. Instructions: Match the action at the left-side with the correct step number at the right-side (the attached picture). Note that it may be possible to group more than one related actions in the same logical step / process without altering the essence of the algorithm. In the program flow, input and checking of hourly pay rate should come before that of the number…Constraints: Use Python Don't use global variables Don't use external libraries (PIL and os are allowed) Start the program with a main function (def main():) Content: Ask the user for an input (an image file). If the file uploaded is not a jpeg/jpg file, print out "Try again!" and ask for an input once more. Continuously ask until a jpeg/jpg file is uploaded. Once a jpeg file is uploaded, create a function with the argument img_info and return a tuple with the image's dimensions in pixels (w, h) and the image data in a form of a list of tuples with RGB values. Print out the values/data collected. Thank you!
- Result Calculator: Create a percentage calculator in which user enters the total obtained marks and total maximum marks and program prints in output the percentage obtained by the user. Use Python language.Write a program to generate a random number between 1 - 100, and then display which quartile the number falls in. First quartile is 1 - 25 Second quartile is 26 - 50 Third quartile is 51 - 75 Fourth quartile is 76 - 100 To generate a random number, follow these steps: include necessary header files #include <cstdlib> //for random functions #include <ctime> //for time functions set constants for the minimum and maximum values of the desired range const int MIN_VALUE = 1; //minimum range value const int MAX_VALUE = 100; //maximum range value seed the random number generator (RNG) with a unique unsigned int value - system time! unsigned seed = time(0); //system time in seconds since 1/1/1970 srand(seed); //seed the RNG get a random number in the desired range int num = (rand() % (MAX_VALUE - MIN_VALUE + 1)) + MIN_VALUE; The program should: contain header comments as shown in class display a "hello" message (more descriptive than shown in sample) generate…In C++ please, using basic programming one coding The main menu should show the available options: Show the roster: Displays all the player names and jersey numbers in a numbered list. Ex: 1. Susan Martinez (33), 2. Jake Smith (21), etc. Add a player: Prompts the user to type the player's full name and jersey number. Then adds the player to the roster. Remove a player: Displays the roster and prompts the user to enter the number of the player to remove. Then removes the player from the roster. Quit: Quits the program. The program should display the main menu after the user shows the roster, adds a player, or removes a player. The program only terminates when the user chooses the quit option. Data validation should be used where appropriate. Ex: The user should not be able to choose an option that doesn't exist or delete a player that doesn't exist. The roster should be kept in alphabetic order by the players' full names. Ex: If Alice Chang (9) is added to a roster with Jake Smith and…
- • Use a while loop • Use multiple loop controlling conditions • Use a boolean method • Use the increment operator • Extra credit: Reuse earlier code and call two methods from main Details: This assignment will be completed using the Eclipse IDE. Cut and paste your code from Eclipse into the Assignment text window. This is another password program. In this case, your code is simply going to ask for a username and password, and then check the input against four users. The program will give the user three tries to input the correct username-password combination. There will be four acceptable user-password combinations: • alpha-alpha1 • beta-beta1 • gamma-gamma1 • delta - delta1 If the user types in one of the correct username-password combinations, then the program will output: "Login successful." Here are a couple of example runs (but your code needs to work for all four user-password combinations): Username: beta Type your current password: beta1 Login successful. Username: delta Type…python The intent of this program is to manage a set of contacts. Each contact will have data associated with it: Id – number/integer First Name – string Last Name – string Age – number/integer Phone Number – string Email – string Anything else you’d like to add to make yours unique (can result in extra credit) Gender – character or string (m/f/o) Twitter ID, Facebook Id, etc You must allow the customer to do the following actions on the contact list: List all contacts Add contact Delete contact Edit contact Exit program You should leverage a database (PostgreSQL) to save everything to the DB and read from it. You should use classes for this assignment. This means you should have two classes: Contact – all the attributes/properties described above with appropriate constructor. Methods: Add (constructor - __init__(p_id, p_fname, p_lname, p_age, p_phone, p_email, p_gender) Edit Contact List (contact_list) – built on Python list (or creating one within the constructor), you…Instructions The files provided in the code editor to the right contain syntax and/or logic errors. In each case, determine and fix the problem, remove all syntax and coding errors, and run the program to ensure it works properly. An example of the program is shown below: Enter credits for first student >> 18 Enter credits for second student >> 30 Total due for student #1 is $1365.1200000000001 Total due for student #2 is $2275.2000000000003 Task 1: The DebugThree4 class compiles without error. Task 2: The computeTuitionBill() method computes and displays the correct tuition bill. Task 3: The DebugThree4 program accepts user input and displays the correct output.
- Python programming Write a program that generates a random number and asks the user to guess what the number is. If the user's guess is higher than the random number, the program should display "Too high, try again." If the user's guess is lower than the random number, the program should display "Too low, try again." The program should use a loop that repeats until the user correctly guesses the random number. TY!In the Python programming language: Create a program that stores the names of the user's friends in a list. The program should allow a user to add friends to the list, remove friends from the list, and display the entire list of friends. A menu should be created that displays those options like so: 1 - View all 2 - Add Friend 3 - Remove Friend 4 - Exit The program should continue in a loop until the user selects exit. Hint: Use a function for each menu selection.JavaScript Write JavaScript programs to do the following: (1) At one college, the tuition for a full-time student is $8,000 per semester. It has been announced that the tuition will increase by 3 percent each year for the next 5 years. Write a program with a loop that displays the projected semester tuition amount 5 years from now. (2)Write a program that asks the user to enter the amount that he or she has budgeted for a month. A loop should then prompt the user to enter each of his or her expenses for the month and keep a running total. The loop should finish when total of the expenses, is at or over budget. The program should print the amount of money left over after the expenses. (3) Write a program that calculates how many days it takes to accumulate at least $1,000,000 if someone deposits one penny on the first day, two pennies the second day, four pennies on the third day and continues to double each day. The output should display the number of days. (4) Suppose a random…