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.
Answer: Buisness calendars
Explanation:
types of digital divide
Explanation:
introduction. desktop computer,tablet computer,storage devices such as flash drivers, mobile phone...
Define the term loop rule.
The loop rule tells us that if we sum the blank
across all the components in a single closed path of an electrical network, the result is 0.
Answer:
voltage differences
Explanation:
Which two of these can be stored in a float variable?
1
C
3.4
true
"hello"
Answer:
3.4
Explanation:
A float variable can only store a floating-point number which means it can store a number that has a decimal place or a decimal number.
Answer:
float variable is
3.41Can anyone provide a good java program that shows how to implement a button?
Answer:
Hello, this is Kyle Risso and I wrote a program for school not too long a go that can probably answer your question. This code creates two buttons that cycle through different colors.
Explanation:
The most important parts of the code are the ArrayList which implements the arrays for the different colors, but to answer your question the buttons are created using Action Listener as you'll see in the code. Hope this helps.
Is majority intent determined by how many times the same type of result is shown on the search engine result page?
According to the search engine algorithm, it is True that the majority intent is determined by how many times the same result is shown on the search engine result page.
What is Search Intent?Search Intent is a term used to describe a user's reason when typing a question or words into a search engine.
Generally, if a user found that no search results match his wants, he would likely not click on any link before performing a similar query search. This would make search engines return with more links that have higher clicks.
Different types of Search IntentInformationalCommercialNavigationTransactionalHence, in this case, it is concluded that the correct answer is True.
Learn more about Search Engine here: https://brainly.com/question/13709771
explain different users of computer in briefly?
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?
codes python Coordinate Pairs pls helpComplete the distance function! It should take two arguments, each of which is a tuple with two elements. It should treat these tuples like points in a 2d coordinate plane. It should return the distance between them using the Pythagorean Theorem:1. Square the difference between the x values.2. Square the difference between the y values.3. Add the two squares.4. Take the square root of the result.In order to compute the square root of something, you need to use the sqrt function. This function belongs to a module in Python called math. The first line of the code provided imports this module, so that you can use the functions in it. To take the square root of a number, simply do something like the following:number = ...result = math.sqrt(number)You can also use the built-in Python function pow to take the square of a number, like this:number = ...square = pow(number, 2)
Answer:
the ansewer is I have no idea
This code calculates the distance between points (1, 2) and (4, 6) using the Pythagorean Theorem, which yields a result of 5.0.
A Python function that calculates the distance between two coordinate pairs using the Pythagorean Theorem:
```python
import math
def distance(point1, point2):
# Unpack the coordinate pairs into variables
x1, y1 = point1
x2, y2 = point2
# Calculate the squared differences between x and y coordinates
x_diff_sq = pow(x2 - x1, 2)
y_diff_sq = pow(y2 - y1, 2)
# Add the squared differences and take the square root of the result
distance = math.sqrt(x_diff_sq + y_diff_sq)
return distance
```
You can use this function by passing two tuples representing the coordinate pairs as arguments. For example:
```python
result = distance((1, 2), (4, 6))
print(result) # Output: 5.0
```
This code calculates the distance between points (1, 2) and (4, 6) using the Pythagorean Theorem, which yields a result of 5.0.
Know more about Pythagorean Theorem:
https://brainly.com/question/28361847
#SPJ5
How have you seen technology transform in your own life? What was the oldest computer or device you remember using? How does this compare to the machines you use today? What was your favorite piece of tech that is no longer popular or in common use? What are some modern benefits you're grateful for? Share your own "history of computing" with your fellow learners!
I am greatly opportuned to live in a time an era where technology is prevalent and constantly evolving, I have also experience technological changes in my life in the areas of learning because I browse about questions a lot.
What was the oldest computer or device you remember using?
I can remember using a Nokia 3310 but now I use an iPhone 11 pro max
How does this compare to the machines you use today?
The difference in the Nokia 3310 mobile and my current iPhone 11 pro max goes a long way to describe the evolutionary changes in technology, my iPhone 11 pro max is a smart phone with a lot of feature not present in my old Nokia 3310.
What was your favorite piece of tech that is no longer popular or in common use?
My favourite piece of tech no longer in use today is the typewriter, I like it because of the sound from the key when I am typing, it is more like typing and have fun at the same time.
What are some modern benefits you're grateful for?
I am most grateful for the Internet because it is a repository for knowledge, I learn and collaborate everyday using the Internet.
Learn more how the history of computer:
https://brainly.com/question/485705
Each JavaScript command line ends with a(n) ____ to separate it from the next command line in the program.
Get the user to enter some text and print it out in reverse order.
Answer:
strrev in c/c++
Explanation:
Write an if statement that assigns 0.2 to commission if sales is greater than or equal to 10000.
Explain network optimization challenges of internet providers.
Answer:
The internet was initially used to transfer data packets between users and data sources with a specific IP adress.Due to advancements,the internet is being used to share data among different small,resource constrained devices connected in billions to constitute the Internet of Thing (IoT).A large amount of data from these devices imposes overhead on the (IoT) network.Hence,it is required to provide solutions for various network related problems in (IoT) including routing,energy conservation,congestion,heterogeneity,scalability,reliability quality of service (QoS) and security to optimally make use of the available network.In this paper,a comprehensive survey on the network optimization in IoT is presented.
How many types of windows does Python use?
a.
four
b.
five
c.
one
d.
two
Question;
How many types of windows does python use?
Answer;
A.Four
Window does python use is Four
Which of the following correctly calculates the
money supply with M2?
A. M2 + M3
B. M2-M1
C. M2 + M1
Answer:
I think it's C.
Explanation:
I could be wrong, but this is my understanding. M3 equals the sum of all money in the economy. To get M3, you add M2 and M1. So, this would be the correct way to calculate the money supply with M2.
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.
Answer:
there was a type of user name and sentences
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?
Answer:
she needs 1/6 of the garlic powder in the original recipe
Hope This Helps!!!
Mark’s friends told him about an automated program that sends unsolicited messages to multiple users. Which type of program were Mark’s friends referring to?
Answer:
Spambots.
Explanation:
Spambots send thousands of messages world wide once they get your information things like email and such and send out unsolicited things out constantly.
Matlab
K = 92
how do i do
AK= u * s * v'
with this value?
u = 1
s = 12.0048
v = 1
Answer:
Explanation:
AK = u*s*v
u = 1
s = 12.0048
v=1
K = 92
92A = 1 * 12.0048 * 1
92A = 12.0048 Divide by 92
A = 12.0048/92
A = .1304
Dean Smith is dissatisfied with the time it takes to get a new faculty ID made and believes more servers will speed up service and reduce costs thanks to shorter lines. Prof. Karen is tasked to study the situation. Prof. Karen observes an average of 20 customers/hr arriving and each technician (service window) serves 5 customer/hr, on average. Assume an M/M/s queue system. Prof. Karen calculates the operational cost of each server as $20/hr, and assumes a cost of waiting in the SYSTEM as $25/hr per customer. What is the optimal number of service windows to minimize total cost
The optimal number of service windows to minimize total cost will be 5 service windows.
How to calculate the optimal value?The optimal number of service windows to minimize total cost will be calculated thus:
Cost = 20x + 25(20 - 5x)
Cost = 20x + 500 - 125x
Cost = 500 - 105x
For the minimum cost,
500 - 105x = 0
105x = 500
x = 500/105
x = 4.76 = 5
Therefore, the optimal number of service windows to minimize total cost will be 5 service windows.
Learn more about cost on:
https://brainly.com/question/25109150
#SPJ2
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
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
Briefly explain the conceptual of effective computer based instruction for adults outlining the three units output process and input
Based on the research analysis, the concept of effective computer-based instruction for adults is the integration of the key organs of computer-based instruction to deliver desired guidelines for research in CBI for adults.
The three units output process and inputOutput processExternal supportCBI DesignInstructional Strategy designInput ProcessSelf DirectednessComputer Self EfficacyLearning Goal LevelHence, in this case, it is concluded that computer-based instructions can be practical for adult learning.
Learn more about CBI here: https://brainly.com/question/15697793
Which of the following is the correct sequence of the DIIRE
value chain?
A lot of events often takes plain in value chain. The correct sequence of events in the value chain are competitive strategy; value chain; business process and lastly the information systems.
A value chain is simply known as a business model that shows all the aspects or ranges of activities that is often needed to make a product or service.
Firms often conducts an indepth value-chain analysis through the act of evaluating the detailed procedures involved in each step of its business.
Learn more about Value chain from
https://brainly.com/question/1380316
5. What is intellectual property? (1 point)
Brainliest if correct
Answer:
intangible property that is the result of creativity, such as patents, copyrights, etc.
Please mark as brainliest
Answer:
A creative work of an invention, designs or names and images used in commerce.
what is the keyboard shortcut to display formulas on the worksheet : a. CTRL+ B. CTRL+: C. CTRL+; D. ALL THE ABOVE
when i use python idle to execute a command, i get this message in shell
RESTART: C:/something something
Answer:
yes it always come whenever u execute a command
It comes with everyone
You can change the ____ or position of text within a document's margins.
a. fielding
b. proportion
c. location
d. alignment
Answer:
Alignment
Explanation:
That should be correct
You can change the alignment or position of the text within a document's margins. Thus, the correct option for this question is D. This is because it refers to the way text is arranged in the document between the margins.
What is alignment in a text?Text alignment may be characterized as a type of paragraph formatting attribute that determines the appearance of the text in a whole paragraph. It is a term that describes how text is placed on the screen.
The changes in the text alignment are made by the following action:
Place the insertion point anywhere in the paragraph, document, or table that you want to align.Do one of the following: To align the text left, press Ctrl+L. To align the text right, press Ctrl+R. To center the text, press Ctrl+E.Therefore, you can change the alignment or position of the text within a document's margins. Thus, the correct option for this question is D.
To learn more about Text alignment, refer to the link:
https://brainly.com/question/7512060
#SPJ2
PLEASE ANSWER AND HURRY I'LL MARK YOU BRAINLIEST!!
Answer:
what's the question?
Explanation:
I see no question.
What is the impact of Customer Centricity?
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( "" )
''