Write a program that lets the user enter four quarterly sales figures for six divisions of a company. The figures should be stored in a two-dimensional array. Once the figures are entered, the program should display the following data for each quarter: - A list of the sales figures by division - Each division's increase or decrease from the previous quarter (this will not be dis- played for the first quarter) - The total sales for the quarter - The company's increase or decrease from the previous quarter (this will not be dis- played for the first quarter) - The average sales for all divisions that quarter - The division with the highest sales for that quarter Input Validation: Do not accept negative numbers for sales figures.

Answers

Answer 1

Answer: Buisness calendars

Explanation:


Related Questions

Assume that students in a course are required to produce a written report on an ICT-related
the topic each semester. If you wanted to create a model to estimate how long it should take a student to
complete such an assignment, what measure of work content would you use? Some reports might be
more difficult to produce than others: what factors might affect the degree of difficulty? Provide a list
of factors and explain each briefly.

Answers

Based on the information given, the measures of work content that can be utilized will be:

The student's knowledge of the subject.   The work's difficulty. The student's research hours.

In order to create a model to estimate how long it should take a student to

complete such an assignment, the important measures include the knowledge of the student on the subject, research hours, etc. This may be evaluated on a scale of 0 to 10.

The factors that may influence the degree of difficulty include:

The student's access to materials for the assignment. The student's familiarity with the work. The amount of time required to fully grasp the subject.

Learn more about a model on:

https://brainly.com/question/17764105

What is the impact of Customer Centricity?

Answers

Customer-centric businesses generate greater profits, increased employee engagement, and more satisfied customers. Customer-centric governments and nonprofits create the resiliency, sustainability, and alignment needed to fulfill their mission.

When running the following code:
true = 5
false = 6
print (true + false)
-
The interpreter will:

Answers

Answer:

print(11)

Explanation:

true + false = print statement

5 + 6 = 11

To permit communication between two people who do not speak the same language, interpreters accurately and objectively translate spoken or sign languages into other languages.

What is role of print statements in interpreter?

It is the interpreter's responsibility to use these code objects and carry out the directives. You might be astonished to learn that compilation even occurs during the execution of Python code.

As contrast to “compiled” languages like C or Rust, Python is frequently referred to as a “interpreted” language like Ruby or Perl.

A trained expert who facilitates communication between those who speak or sign in various languages is known as an interpretation.

The print() function outputs the message to the normal output device, such as the screen. The message can be a string or any other object, and before it is displayed on the screen, the object will be changed into a string.

Therefore, true + false = print statement 5 + 6 = 11

Learn more about print statements here:

https://brainly.com/question/24200615

#SPJ2

Building a String Library

Sometimes when programming you need to introduce a new data type and develop a library of functions for manipulating instances of that data type. Often this is done as methods on a new class but not always.

In this assignment, you'll be defining a collection of functions on strings, most of which already exist as methods on the str class. However, you should pretend that they don't already exist and define them as functions. Of course, you can't just use the existing methods. This will give you a bunch of practice on manipulating strings and also on defining functions.

In this assignment, you'll be defining a collection of functions on strings. You should define each of these as a new function with a function header as below. The description of each is in the comment supplied. Recall that strings are immutable, so you will have to return a new copy of the string for those that call for you to return a string. If you are returning the same string as the input, just return it; there is no need to make a new copy, and it wouldn't anyway.

The only string functions/methods to use:

ord, chr
indexing and slicing
append (i.e., ``+'')
len, in, not in
equality comparison (== or !=))
Looping over strings (while or for loops) and selection (if statements) are allowed. BUT You cannot convert the strings to other types such as lists.

Define each of the following functions, with semantics as indicated by the comment. In each of the following ch is a single character, str, str1, str2 are strings, and i is a non-negative integer. You do not have to validate the inputs, except as indicated; you can assume these types.

At least one question asks you to return two values. That really means returning a tuple (pair) of values. You do that as follows:

return value1, value2
This actually returns the pair (value1, value2). The caller can then assign the members of the pair to two variables:

x, y = pairReturningFunction() # assumes function returns a pair
z, w = (value1, value2) # assigning a tuple to 2 variables
If you like, you can use earlier functions in later ones, or define helper functions, though it shouldn't really be necessary. Note that some of these are trivial to write, while others are a bit harder. I have done the first one for you.

def myAppend( str, ch ):
# Return a new string that is like str but with
# character ch added at the end
return str + ch

def myCount( str, ch ):
# Return the number of times character ch appears
# in str.

def myExtend( str1, str2 ):
# Return a new string that contains the elements of
# str1 followed by the elements of str2, in the same
# order they appear in str2.

def myMin( str ):
# Return the character in str with the lowest ASCII code.
# If str is empty, print "Empty string: no min value"
# and return None.

def myInsert( str, i, ch ):
# Return a new string like str except that ch has been
# inserted at the ith position. I.e., the string is now
# one character longer than before. Print "Invalid index" if
# i is greater than the length of str and return None.

def myPop( str, i ):
# Return two results:
# 1. a new string that is like str but with the ith
# element removed;
# 2. the value that was removed.
# Print "Invalid index" if i is greater than or
# equal to len(str), and return str unchanged and None

def myFind( str, ch ):
# Return the index of the first (leftmost) occurrence of
# ch in str, if any. Return -1 if ch does not occur in str.

def myRFind( str, ch ):
# Return the index of the last (rightmost) occurrence of
# ch in str, if any. Return -1 if ch does not occur in str.

def myRemove( str, ch ):
# Return a new string with the first occurrence of ch
# removed. If there is none, return str.

def myRemoveAll( str, ch ):
# Return a new string with all occurrences of ch.
# removed. If there are none, return str.

def myReverse( str ):
# Return a new string like str but with the characters
# in the reverse order.
Expected output:

>>> from MyStringFunctions import *
>>> s1 = "abcd"
>>> s2 = "efgh"
>>> myAppend( s1, "e" )
'abcde'
>>> myCount( s1, "e")
0
>>> myCount( s1, "a")
1
>>> myCount( "abcabc", "a")
2
>>> myExtend( s1, s2 )
'abcdefgh'
>>> myMin( "" )
Empty string: no min value # Note the None doesn't print
>>> myMin( "zqralm" )
'a'
>>> myMin( "Hello World!" )
' '
>>> myInsert( "abc", 0, "d")
'dabc'
>>> myInsert( "abc", 2, "d")
'abdc'
>>> myInsert( "abc", 4, "d")
Invalid index # Note the None doesn't print
>>> myPop( "abcd", 1 )
('acd', 'b')
>>> myPop( "abcd", 0 )
('bcd', 'a')
>>> myPop( "abcd", 5)
Invalid index
('abcd', None)
>>> myFind( "abcdabcd", "a")
0
>>> myFind( "abcdabcd", "c")
2
>>> myFind( "abcdabcd", "f")
-1
>>> myRFind("abcdabcd", "d")
7
>>> myRFind("abcdabcd", "e")
-1
>>> myRemove( "abcdabcd", "a")
'bcdabcd'
>>> myRemove( "abcdabcd", "x")
'abcdabcd'
>>> myRemove( "abcdabcd", "d")
'abcabcd'
>>> myRemoveAll("abcabcabca", "a")
'bcbcbc'
>>> myReverse( "abcd" )
'dcba'
>>> myReverse( "" )
''

Answers

Code:

def myAppend( str, ch ):
# Return a new string that is like str but with
# character ch added at the end
return str + ch

def myCount( str, ch ):
# Return the number of times character ch appears
# in str.

# initiaalizing count with 0
count = 0

# iterating over every characters present in str
for character in str:
# incrementing count by 1 if character == ch
if character == ch:
count += 1

# returning count
return count


def myExtend( str1, str2 ):
# Return a new string that contains the elements of
# str1 followed by the elements of str2, in the same
# order they appear in str2.

# concatenating both strings and returning its result
return str1 + str2

def myMin( str ):
# Return the character in str with the lowest ASCII code.

# If str is empty, print "Empty string: no min value"
# and return None.
if str == "":
print("Empty string: no min value")
return None

# storing first character from str in char
char = str[0]

# iterating over every characters present in str
for character in str:
# if current character is lower than char then
# assigning char with current character
if character < char:
char = character
# returning char
return char


def myInsert( str, i, ch ):
# Return a new string like str except that ch has been
# inserted at the ith position. I.e., the string is now
# one character longer than before.

# Print "Invalid index" if
# i is greater than the length of str and return None.

if i > len(str):
print("Invalid index")
return None

# str[:i] gives substring starting from 0 and upto ith position
# str[i:] gives substring starting from i and till last position
# returning the concatenated result of all three
return str[:i]+ch+str[i:]

def myPop( str, i ):
# Return two results:
# 1. a new string that is like str but with the ith
# element removed;
# 2. the value that was removed.
# Print "Invalid index" if i is greater than or
# equal to len(str), and return str unchanged and None
if i >= len(str):
print("Invalid index")
return str, None

# finding new string without ith character
new_str = str[:i] + str[i+1:]

# returning new_str and popped character
return new_str, str[i]

def myFind( str, ch ):
# Return the index of the first (leftmost) occurrence of
# ch in str, if any. Return -1 if ch does not occur in str.

# finding length of the string
length = len(str)

# iterating over every characters present in str
for i in range(length):
# returning position i at which character was found
if str[i]==ch:
return i
# returning -1 otherwise
return -1


def myRFind( str, ch ):
# Return the index of the last (rightmost) occurrence of
# ch in str, if any. Return -1 if ch does not occur in str.

# finding length of the string
length = len(str)

# iterating over every characters present in str from right side
for i in range(length-1, 0, -1):
# returning position i at which character was found
if str[i]==ch:
return i
# returning -1 otherwise
return -1

def myRemove( str, ch ):
# Return a new string with the first occurrence of ch
# removed. If there is none, return str.

# returning str if ch is not present in str
if ch not in str:
return str

# finding position of first occurence of ch in str
pos = 0

for char in str:
# stopping loop if both character matches
if char == ch:
break
# incrementing pos by 1
pos += 1

# returning strig excluding first occurence of ch
return str[:pos] + str[pos+1:]

def myRemoveAll( str, ch ):
# Return a new string with all occurrences of ch.
# removed. If there are none, return str.

# creating an empty string
string = ""

# iterating over each and every character of str
for char in str:
# if char is not matching with ch then adding it to string
if char!=ch:
string += char
# returning string
return string

def myReverse( str ):
# Return a new string like str but with the characters
# in the reverse order.

return str[::-1]

Which part of the computer is responsible for managing memory allocation for all applications


A. Word processor


B. Operating system


C. Web browser


D. Intergrated development environment


I think it’s B but I’m not sure so I want to see if I’m right before answering

Answers

Answer:

Option B

Explanation:

The operating system is the type of software that is responsible for managing the processor time and also the memory allocation in the system. The operating system mainldeals with the processor time by scheduling the processor work done in the system.

The OS mainly controls the system and then schedule the execution of various types of function by the central processing unit (CPU). It also controls the memory allocation in the system.

The part of the computer responsible for managing memory allocation for all applications is the operating system. The correct option is B.

What is an operating system?

The operating system is the kind of software in charge of controlling the system's memory allocation and CPU usage. By scheduling the system's processor work, the operating system primarily manages processor time.

The operating system (OS) primarily manages the system and schedules the central processor unit's performance of many types of functions. Additionally, it manages the system's memory allocation.

The CPU is the brain of the computer. It manages all the functions of the computer. It is a small rectangle chip-like structure present inside the box with other parts.

Thus, the part of the computer that is responsible for managing memory is the operating system. The correct option is B.

To learn more about the operating system, refer to the link:

https://brainly.com/question/6689423

#SPJ2

The term for an operator that may not evaluate one of its subexpressions is

Answers

Answer:

short-circuit

Explanation:

Marci enjoyed the restaurant's meatloaf so much, she asked for the recipe. She wants to make 1/6 of the recipe. How much garlic powder does Marci need?

Answers

Answer:

she needs 1/6 of the garlic powder in the original recipe

Hope This Helps!!!

Convert 12 bits to bytes​

Answers

Answer:

1.5 bytes

Explanation:

I byte = 8 bit ....

What would graphics be classified as?

Answers

Answer:

raster and vector graphics

raster graphics is the answer

The definition of "nested statements" is _____.
a. elements of HTML that work within other elements of HTML
b. elements of specific text that work within elements of HTML
c. elements of specific code that work within elements of HTML
d. elements of HTML that work outside of elements of HTML

Answers

C??i think sorry if wrong ..

Term software refers to

(a) Computer manuals only

(b) Computer programs only

(c) Machinery

(d) Computer manuals and programs

Answers

Answer:

(b) Computer programs only

Explanation:

[tex]{}[/tex]

Answer:

b

Explanation:

HOPE THAT THIS IS HELPFUL. HAVE A GREAT DAY.

P3. Produce a plan to use social media in a business to meet its business requirements.

Answers

The plan to use social media in a business include:

It is important to audit the current social presence.  The company should document who their Ideal customer is. A mission statement should be created. One should identify the key success metrics. An engaging content should be created.  The company should also invest in a social media management tool.

It should be noted that using social media in a business is an effective way to meet its business requirements and achieve organizational goals.

Learn more about social media on:

https://brainly.com/question/1163631

Distinguish between principles, guidelines and standards, using examples of each to illustrate​

Answers

Explanation:

principles is what governs a place

guidelines is what you read to guide you

standards is what build up in your self

Answer:

A principle is a basic truth to live by, such as “All human beings are equal in the eyes of God.” A guideline is a general rule or piece of advice such as “don't burn your bridges.” A standard is a rule to be upheld such as the Ten

You can enter common data in multiple worksheets by __________.
a) Grouping Worksheets
b) Data Validation
c) PivotTable
d) Consolidating Data​

Answers

Answer:

A.) Grouping Worksheet.

Explanation:

Hope this helps!

What’s the relationship among speed frequency and the number of poles in a three phase induction motor

Answers

Answer:

The number of poles in the windings defines the motor's ideal speed. A motor with a higher number of poles will have a slower rated speed but a higher rated torque.

Explanation:

The relationship among speed, frequency, and the number of poles in a three-phase induction motor is governed by what is known as the synchronous speed equation.

The synchronous speed of an induction motor is the speed at which the rotating magnetic field generated by the stator windings of the motor rotates.

The synchronous speed (Ns) of a three-phase induction motor is given by the following equation:

Ns = (120 × f) / P

where:

Ns is the synchronous speed in revolutions per minute (RPM).

f is the supply frequency in hertz (Hz).

P is the number of poles.

From the equation, it can be observed that the synchronous speed is directly proportional to the frequency and inversely proportional to the number of poles.

This means that if the frequency increases, the synchronous speed also increases, assuming the number of poles remains constant.

Conversely, if the frequency decreases, the synchronous speed decreases.

The actual speed of an induction motor is known as the rotor speed or slip speed, which is always slightly lower than the synchronous speed. The difference between the synchronous speed and the actual speed is referred to as slip and is necessary for the motor to induce a voltage in the rotor and generate torque.

It's important to note that the synchronous speed equation assumes an ideal motor with no load. In practice, the actual speed of the motor depends on various factors, including the load torque, rotor resistance, and motor design.

Learn more about synchronous speed equation click;

https://brainly.com/question/33166801

#SPJ2

types of digital divide ​

Answers

Explanation:

introduction. desktop computer,tablet computer,storage devices such as flash drivers, mobile phone...

Does technology always follow the science, yes or no and explain the reason your choice

Answers

Answer:

NO

Explanation:

because Technology does not always follow science but it may actually lead science in some instances. An example is weather forecasting.Mark me brainliest plz

Can someone help me do this who ever does it first get 100 points :)

Answers

Answer:

Wired: Means a cable or a wire connected thats the opposite of wireless.

Wireless is bascially a device with no cable needed.

3G: GB

4G: GB

5G: GB

Explanation:

Wired: Means a cable or a wire connected thats the opposite of wireless.

Wireless is bascially a device with no cable needed.

3G: GB

4G: GB

5G: GB

See if you can do better then I did

Answers

Answer:

no i can't do better ggs

Explanation:

im not smart (also I did answer the question ;) )

I want know answer for best way to copy formula on MS Access

Answers

Answer:

copy and paste is alternate

A data analyst is working with a data frame named retail. It has separate columns for dollars (price_dollars) and cents (price_cents). The analyst wants to combine the two columns into a single column named price, with the dollars and cents separated by a decimal point. For example, if the value in the price_dollars column is 10, and the value in the price_cents column is 50, the value in the price column will be 10.50. What code chunk lets the analyst create the price column

Answers

The code chunk that lets the analyst create the price column is;

unite(retail, “price”, price_dollars, price_cents, sep=”.”)

The code chunk unite(retail, “price”, price_dollars, price_cents, sep=”.”) is the one that will allow the analyst to create the price column.

The reason for that answer is that;

The unite() function would allow the analyst  to make the dollars and cents data to be combined into a single column.Meanwhile, in the parentheses of the given function, the analyst will write the name of the data frame.Next step for the analyst is to write the name of the new column in quotation marks.Next step is the names of the two columns they want to combine.Lastly, the argument sep=”.” will now place a decimal point between the dollars and cents data given in the price column.

Read more about programming at; https://brainly.com/question/15683939

The operation of an enable input on a multiplexer chip is.

Answers

Answer:

is used to activate the chip.

Explanation:

when enable is high the chip works (ACTIVE), when enable is low the chip does not work (MEMORY).

explain different users of computer in briefly?​

Answers

Answer:

The question is invalid; there are many types of computer user. Why on earth do you think there are five?

From the top of my head.

Casual- someone at home browsing the web, reading email.

IT Consultant. Advising people.

Software developer- writing software

Secretary - manages email for a company

Academic. Writing research papers.

Monitors. Monitor a computer system.

That’s six off the top of my head. There are probably a dozen more. So why do you think there are five?

A wireless ________ extender is a network device that enhances transmission of your wireless signal.

Answers

Explanation:

A wifi range extender,sometime called a range expander,is type of wireless repeater used to exten wifi range.

Implement a function mystery( ) that takes as input a positive integer n and answers this
question. How many times can n be halved (using integer division) before reaching 1?

Answers

Count= 0
While n > 1
n = n
Count += 1
Return count

The function mystery that takes as input a positive integer n is given below. The number of times that can n be halved (using integer division) before reaching 1 is infinite.

What are function mysteries?

The non-negative integers are used to define the mystery function. The more common name of this method is hidden to avoid tempting you to explore the Web for assistance in completing this task, which would be a very dishonorable thing to do. Assume n has m bits.

Count= 0

While n > 1

n = n

Count += 1

Return count

Once. You now have 1/2. You can split 1/2 in half to make quarters, but that is not dividing one, it is dividing one half. If you mean how long the series of subsequent subdivisions you can make can be, the answer is infinite.

Therefore, the number of times that can n be halved (using integer division) before reaching 1 is infinite.

To learn more about function mysteries, refer to the below link:

https://brainly.com/question/14201335

#SPJ2

I need help in php coding

Answers

How can i help you please post your question

Question 3 You are working with the ToothGrowth dataset. You want to use the skim_without_charts() function to get a comprehensive view of the dataset. Write the code chunk that will give you this view.

Answers

There are different kinds of chunk options. The code chunk  that will give me this view is  skim_without_charts(ToothGrowth)

This code chunk can gives me a comprehensive view of the dataset. When you look into the parentheses of the skim_without_charts() function, you will see the name of the dataset that you intended looking into/viewing.

The code is known to return or give a short detail with the name of the dataset and the number of rows and columns therein.

It also makes one to see the column types and data types that are found/ contained in the dataset. The ToothGrowth dataset is known to have 60 rows.

Learn more about Code Chuck from

https://brainly.com/question/25525005

What did World Com do to try to keep its stock price from falling?

Answers

The company had good enough internal controls to prevent Scott D.

when i use python idle to execute a command, i get this message in shell

RESTART: C:/something something

Answers

Answer:

yes it always come whenever u execute a command

It comes with everyone

Write a program that asks the user for his or her name, then asks the user to enter a sentence that describes himself or herself. The program should ask for a destination file to save as the last question.

Answers

Answer:

there was a type of user name and sentences

Other Questions
someone pease help me i really need it and giving brainlist to first answer Illegal activities in other nations pose dilemmas for the United States for which of these reasons?A. Powerful drug cartels rule Ethiopia and Somalia, resulting in diplomatic concessions.B. Piracy off the coast of Mexico is an ongoing issue that threatens the United States.C. The economies of some countries are partially funded by illegal drug trafficking to America.D. The United States finds it difficult to police the actions of other states due to lack of funding. Which number line shows the estimate of V47 in the correct interval of integers?0 1 2 3 4 5 6 7 8 9 100 1 2 3 4 5 6 7 8 9 100 1 2 3 4 5 6 7 8 9 10 growthQuestion 111/Frampton Comes Alive was the first "Big Album" with more than 10 million salesAtt1 aTrueB FalseGradingODEi1 PointQuestion 2According to "Bruce Dickinson", the only cure for a fever is "More Cowbell"ATrueFalse in describing abnormal curvatures it could be said that how big is earthtoday What is Total Revenue (TR) , Average Revenue (AR) and Marginal Revenue (MR)[tex] \: [/tex] help me with this math problem pleasee. I will give brainliest to the correct answer I NEED SOME HELP PLS Which expression is a sum of cubes?0-24a15 +125018-64a27 +08O- 3x + 681X4+ + By8y40 One similarity between The Five of Islam and the Ten Commandments is that both 7/18 divided 13/36 help How did the Mongols affect the various empires on the continent of Asia? Answer in a complete sentence. If you had no pockets and you can't bring your cell phone,., what item would you carry around with you and why? Please write 3 sentences or more. damage to the heart muscle because of lack of blood supply is called Based on the information above, which of these subjects would most likely be easily hypnotizable? A. Louis B. Olivia C. Frank D. Alice What was the Senate? Suppose that there are two types of tickets to a show: advance and same-day. The combined cost of one advance ticket and one same-day ticket is $70. For one performance, 25 advance tickets and 35 same-day tickets were sold. The total amount paid for the tickets was $2050. What was the price of each kind of ticket? Choose one scene or object to photograph. Take and submit at least three photographs of this scene at three different times of day. Be sure to note the times of day that you choose. Write a brief response about how the light changed in the photograph.Take and submit photographs of someone using frontlighting, backlighting, and sidelighting. You can use the sun or other lighting.Practice taking photographs on a cloudy or rainy day. Turn in three of your favorites from that practice.Take some portrait photographs using a reflector. (Remember that white paper, poster board, sheets, or a wall can all act a reflector.) Practice moving the subject in different positions relative to the reflector. Turn in three of your favorite photographs.Practice taking photographs in different lighting conditions (indoors and outdoors, different times of day, different weather, and so on) to help you better understand the impact of light on your photographs. Turn in three of your favorite photographs from your practice sessions. Solve three questions