1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Oksana_A [137]
3 years ago
7

Python program: Develop a program that will keep track of inventory for a local retail store. Fortunately, the store only offers

five items for sale (at the current time). The data to include is as follows:
Beginning Inventory – this data can be hard coded in the program.

Item # Description # in Inventory

111 Jacket 2300

222 Blazer 1000

333 Sweater 500

444 Hoodie 340

555 Make one up 400



During the day, the following transactions occur:

ALL transactions are entered by a user. The user should run the program one time and enter all of the transactions (and a few more if they would like!) below. Keep in mind that not all users type 100% accurately! You decide how to have your user stop entering data.



Item# # Sold

111 1200

222 300

333 250

444 270

555 300



Item# # Added (Received a shipment from vendor)

111 1100

222 400

333 50

444 250

555 300



After all of the transactions have been entered, print the item #, description, and end of the day inventory quantity.



At the end of the report, provide a grand total of ALL items sold and a grand total of all items delivered.



The better programs will only process data for shipments and sales if the code is correct and allow users to enter both upper case and lower case data. Your program should be able to process more transactions than the ones included above.



For this program, you do not have to worry about it if your inventory falls into negative numbers. That data will be used by the procurement department to purchase any items needed to fulfill the outstanding orders!
Computers and Technology
2 answers:
EastWind [94]3 years ago
7 0
333 Sweater 500 The better programs will only process data
Westkost [7]3 years ago
6 0
I can get it to you within 5 days
You might be interested in
Write a menu-based program in C++ for an input restricted dequeue using Linked List consist of
Natali5045456 [20]

Answer:

C++ With Examples

— Input-restricted Deque: In input-restricted, deletion can be done from ... getLast: Retrieves the last item in the queue. ... Now, we insert element 3 at the rear.

8 0
3 years ago
There are two String variables, s1 and s2, that have already been declared and initialized. Write some code that exchanges their
Ivan

Answer:

//here is code in java.

import java.util.*;

class Solution

{

// main method of class

public static void main (String[] args) throws java.lang.Exception

{

   try{

    // declare an initialize first string variables

     String st1="hello";

     // declare an initialize first string variables

     String st2="world";

     // create another string variable

    String st3;

    // exchange the value of both string variables

    st3=st1;

    st1=st2;

    st2=st3;

    System.out.println("value of first String after exchange: "+st1);

    System.out.println("value of second String after exchange: "+st2);

   }catch(Exception ex){

       return;}

}

}

Explanation:

declare and initialize two string variables.Create another string variable "st3". first assign value of "st1" to "st3" after then value of "st2" to "st1" and then  assign value of "st3" to "st2". This will exchange the values of both the string.

Output:

value of first String after exchange: world

value of second String after exchange: hello

8 0
3 years ago
Read 2 more answers
Can you please make a simple python program? I will give you 20 points and branliest if it is good! It must include:
alekssr [168]

Answer:

# Solve the quadratic equation ax**2 + bx + c = 0

# import complex math module

import cmath

a = 1

b = 5

c = 6

# calculate the discriminant

d = (b**2) - (4*a*c)

# find two solutions

sol1 = (-b-cmath.sqrt(d))/(2*a)

sol2 = (-b+cmath.sqrt(d))/(2*a)

print('The solution are {0} and {1}'.format(sol1,sol2))

Hope This Helps!!!

3 0
3 years ago
Read 2 more answers
How often do you give or receive interpersonal support through social media? Consider times when you’ve exchanged supportive mes
Naily [24]

I receive interpersonal support on almost every sight I go on: even on this one right now! An example of interpersonal support can be a typing editor, I believe.

8 0
3 years ago
Are Microsoft an Apple more secure from malicious action because of their closed-source approach?
omeli [17]

Yes Microsoft and Apple used the closed-source approach to better secure from malware and make to make their operating systems more user friendly.

7 0
3 years ago
Other questions:
  • The means by which you interact with any program on a computer is called the ____. Answer
    5·1 answer
  • Design a generic post-implementation evaluation form. The form should consist of questions that you could use to evaluate any in
    13·1 answer
  • Write code that does the following: opens an output file with the filename number_list.txt, uses a loop to write the numbers 1 t
    8·1 answer
  • Your windows system is used by several people, so you want increase security by requiring users to create passwords that are at
    9·1 answer
  • Listening to music on giggl, join!<br><br> link will be in comments, copy and paste
    9·2 answers
  • Uinjsiodj9fijsdiokjdwe0okakj09dw9j09jw09
    9·2 answers
  • What should be entered to make the loop print
    6·1 answer
  • ¿Cuáles aspectos serían los que más incidirían para que no se pudiera cumplir con el principio de imparcialidad en una auditoría
    11·1 answer
  • Which of the following processes allows animators to use computers to input human movement that can later be transformed to crea
    15·2 answers
  • O How basic blocks are identified and how the blocks are used to construct control flow graphs
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!