Name your sport. Output your sport name and brief description of it to your screen. Prompt the user and ask for the number of innings/sections/etc that they would like to play. Use their answer to create a TWO dimensional array of that size. Now, randomize a score for each team in each inning and store it in the array. You will need a loop to make this happen. In a second and different loop type, loop through the array and output the scores. Create a total variable to keep track of who wins. Once the second loop is finished, output the totals and announce the winner. in java

Answers

Answer 1

In this Java program, I have limited the number of innings to 1000, but you can support more innings as well. I am giving a description of my sport first.

Step-by-step coding:

import java.util.Random;

import java.util.Scanner;

public class MySport {

public static void main(String[] args) {

System.out.println("Welcome User. My sport for the day is MYCRICKET. MYCRICKET is played between two players.\n" + "The maximum number of innings that can be played at once in MYCRICKET is 1000\n. Each innings is played for 10 points. A player who scores atleast 6"+ "out of 10 points is the winner for that innings.\n" + " The final winner of the game is the won who won most innings");

System.out.println("Please choose the number of innings the two players are going to play. This number should be between 1 and 1000");

Scanner scanner = new Scanner(System.in);

int numOfInnings = scanner.nextInt();

if (numOfInnings < 1 || numOfInnings > 1000) {

System.out.print("This program expects the number of innings to be between 1 and 1000");

}

scanner.close();

int[][] scoreCardArray = new int[numOfInnings][2];

Random random = new Random(System.currentTimeMillis());

// loop 1

for (int i = 0; i < numOfInnings; i++) {

scoreCardArray[i][0] = 1 + random.nextInt(10);

scoreCardArray[i][1] = 10 - scoreCardArray[i][0];

}

// loop 2

int finalScoreA = 0;

int finalScoreB = 0;

System.out.println("---------------------------------------------------------");

for (int i = 0; i < numOfInnings; i++) {

System.out.println("Innings: " + (i + 1));

System.out.println("Score:");

System.out.println("player A: " + scoreCardArray[i][0]);

System.out.println("player B: " + scoreCardArray[i][1]);

System.out.println();

System.out.println("---------------------------------------------------------");

if (scoreCardArray[i][0] > 5) {

finalScoreA += 1;

}

if (scoreCardArray[i][1] > 5) {

finalScoreB += 1;

}

}

if (finalScoreA > finalScoreB) {

System.out.println("player A won the match as they won " + finalScoreA + " innings");

} else if (finalScoreB > finalScoreA) {

System.out.println("player B won the match as they won " + finalScoreB + " innings");

} else if (finalScoreA == finalScoreB) {

System.out.println("The match is a tie as both players have the same score");

}

}

}

To know more about Java, visit: https://brainly.com/question/25458754

#SPJ9


Related Questions

is Using programming libraries is one way of incorporating existing code into new programs true

Answers

Yes, Using programming libraries is one way of incorporating existing code into new programs  is a true statement.

What function do libraries provide in programming?

Programming libraries are helpful resources that can speed up the work of a web developer. They offer prewritten, reuseable portions of code so that programmers can easily and quickly create apps. Consider building a program that enables users to enroll in and pay for courses.

Therefore, Using a code library often saves developers from having to create everything from scratch. It can take less time to develop projects and have more reliable software if the catalog of programming resources is kept up well.

Learn more about libraries from

https://brainly.com/question/17960151
#SPJ1

Write an algorithm program to accepts two students score and print out who save the greater score

Answers

An algorithm is a set of clear instructions for solving a specific problem in computer programming. It generates the desired output from a set of inputs. And here the desired inputs are the scores of two students.

Algorithm to print greater score:

START

Take input Score from Student1 and assign it to Score1.

Take input Score from Student1 and assign it to Score2.

Compare the Score1 and Score2.

Assign the larger score value to Max_Score

Print Max_Score

END

What is Algorithm?

An algorithm is a set of instructions, or a set of rules to adhere to, for carrying out a particular task or resolving a particular issue. In the ninth century, the term algorithm was first used. There are algorithms all around us.

For example,

An algorithm to add two numbers:

Take two number inputs

Add numbers using the + operator

Display the result

To know more about Algorithm, visit: https://brainly.com/question/13800096

#SPJ9

What are some resources you can learn from now to learn how to use these different devices with different operating systems?

Answers

The resources that I can learn from now to learn how to use these different devices with different operating systems are:

Learning Operating Systems from scratch [Best Udemy Course] ...Learning Operating Systems Fundamentals [Udemy] ...Learning Computer Hardware and Operating Systems [edX Course]

Why is understanding operating systems critical to IT?

You can "speak" to your computer using your operating system even if you don't understand its language. The file system, scheduler, and device driver are the three components of an OS that are most crucial. You can assess your computer's general health by understanding the fundamentals of your operating system.

Note that A computer user and computer hardware interact through an operating system (OS). An operating system is a piece of software that handles all the fundamental operations like managing files, memory, processes, handling input and output, and managing peripheral devices like disk drives and printers.

Learn more about operating systems from

https://brainly.com/question/22811693
#SPJ1

Steps for Adjusting the width of a cell in ms Excel​

Answers

After that, select "Format" from the "Cells" submenu. There is a drop-down menu where you may choose between "Row Height" and "Column Width." Choose the one that you wish to make the initial adjustment to.

What are cells in Excel?The fundamental building block of an Excel spreadsheet is a cell. The hundreds of tiny, rectangular rectangles you see when you start a new sheet in a spreadsheet are called cells. You can enter the data you intend to utilize in your spreadsheet in these cells.The system arranges rows by number and columns by letter, with each cell located at the junction of a row and a column. As a result, depending on its column and row, each cell has a unique cell address. For instance, the cell in row six and column B holds the address B6. Additionally, you may pick a cell range, which is a collection of cells, at once.List the first and last cells in a cell range to make a reference to that range. For instance, you could write "B3:B6" for the cell range that consists of B3, B4, B5, and B6.

Learn more about Excel spreadsheet refer to :

https://brainly.com/question/24749457

#SPJ9

In computer science, decomposition is breaking a problem down into sub-problems and smaller parts.
TRUE OR FALSE

Answers

Answer:

!TRUE!

Explanation:

It involves breaking down a complex problem or system into smaller parts that are more manageable and easier to understand. The smaller parts can then be examined and solved, or designed individually, as they are simpler to work with.

Consider a logic function with three inputs A,B, and C, and three outputs D, E, and F. The function is defined as follows: D is TRUE if at least one input is TRUE, E is TRUE if exactly two inputs are TRUE, and F is TRUE only if all three inputs are TRUE. Design the logic circuit for the function.​

Answers

Answer: y=mx+by so x=f(x) and m is RBX and KR is b so y will be 69 and 666

Explanation: no explanation

Resources shared on a computer network include

Answers

Resources shared on a computer network include files, data, multimedia, and hardware resources like printers, fax machines, and scanners.

What is a computer network?

Servers, clients, transmission media, shared data, shared printers, other hardware and software resources, network interface cards (NIC), local operating systems (LOS), and network operating systems are among the devices, features, and services that computer networks share (NOS).

Therefore,  the resources that are shared are data, multimedia, and hardware resources like printers, fax machines, and scanners.

To learn more about computer networks, refer to the link:

https://brainly.com/question/14276789

#SPJ1

What are the problems that could occur in data science?

Answers

The problem that could occur in data science is Data growth issue i.e, Big Data. The proper storage of all these enormous sets of data is one of the biggest problems with big data. Companies' data centers and databases are storing an ever-growing amount of data. It becomes increasingly challenging to manage these data sets as they grow exponentially over time.

The 3 biggest Data science challenges are:

Data collection:

Any ML or data science project must start by locating and gathering the necessary data assets. However, one of the most frequent issues that businesses and data scientists encounter is the lack of appropriate data, which has a direct bearing on their capacity to create reliable ML models.

The abundance of data sources:

Companies now routinely gather information about their clients, sales, workers, and other topics. They do this by utilizing a wide variety of tools, programs, and CRMs, and the sheer volume of data that is fired at businesses by the various sources can start to pose issues with data management and consolidation.

Data security and privacy:

The next difficulty is gaining access to the appropriate datasets once they have been identified. Data scientists are finding it more difficult to access datasets due to rising privacy concerns and compliance requirements.

To know more about Data Science, visit: https://brainly.com/question/13104055

#SPJ9

Wi-Fi Protected Access (WPA) fixes critical vulnerabilities in the earlier wired equivalent privacy (WEP) standard. Understanding that WPA uses a combination of an RC4 stream cipher and Temporal Key Integrity Protocol (TKIP), this makes a wireless access point NOT vulnerable to which of the following attacks when related to encrypted wireless packets?

Answers

Since Wi-Fi Protected Access (WPA) fixes critical vulnerabilities in the earlier wired equivalent privacy (WEP) standard, the attacks that is related to encrypted wireless packets is option A: IV attacks.

Describe an IV attack.

A wireless network attack is called an initialization vector (IV) attack. During transmission, it alters the IV of an encrypted wireless packet. One packet's plaintext can be utilized by an attacker to calculate the RC4 key stream produced by the IV employed.

Note that A binary vector used to initialize the encryption process for a plaintext block sequence in order to boost security by adding more cryptographic variance and to synchronize cryptographic hardware. The initialization vector is not required to be kept secret.

Learn more about Wi-Fi Protected Access  from

https://brainly.com/question/13068630
#SPJ1

See full question below

Wi-Fi Protected Access (WPA) fixes critical vulnerabilities in the earlier wired equivalent privacy (WEP) standard. Understanding that WPA uses a combination of an RC4 stream cipher and Temporal Key Integrity Protocol (TKIP), this makes a wireless access point NOT vulnerable to which of the following attacks when related to encrypted wireless packets?

IV attacks

Malware

Ransoware

Briefly discuss the relationship between waterfall model and HCI (5mks)

Answers

HCI (human-computer interaction) is the study of how people engage with computers and how computers are or are not designed to communicate successfully with humans. HCI, as the name indicates, comprises of three components: the user, the computer, and the methods in which they interact.

The waterfall model is a traditional paradigm used in the system development life cycle to build a system in a linear and sequential manner. The model is called a waterfall because it progresses methodically from one phase to the next in a downward direction.

What is the importance of the Waterfall model?

The waterfall process has the following advantages: requirements are accomplished early in the project, allowing the team to define the whole project scope, construct a comprehensive timeline, and design the total application.

This model is straightforward and simple to grasp and apply. Because of the model's rigor - each phase has precise deliverables and a review procedure - it is simple to maintain. Phases are analyzed and completed one at a time in this methodology. The phases do not mix.

Learn more about Waterfall Model:

https://brainly.com/question/13439438

#SPJ1

When a code block is placed inside this loop, what happens to the code?

A. It repeats until the program stops running.

B. It repeats once and then stops.

C. It repeats a certain number of times and then stops.

D. It repeats as long as a certain condition is true.

Answers

When a code block is placed inside a loop, what happens to the code is that: D. It repeats as long as a certain condition is true.

What is a looping structure?

A looping structure can be defined as a type of function that is designed and developed (written) to instruct a computer to repeat specific statements, especially for a certain number of times based on some certain true condition(s).

The types of looping structure.

In Computer programming, there are different types of looping structure and these include the following:

If/Else StatementIf StatementFor LoopWhile LoopForever loopIndefinite loop

This ultimately implies that, a code block would repeat particular statements for a certain number of times (iterations) based on some certain true condition(s) in the looping structures.

Read more on loop here: brainly.com/question/26130037

#SPJ1

Answer:

C.

It repeats a certain number of times and then stops.

Explanation:

Using programming libraries is one way of incorporating existing code into new programs.
TRUE/FALSE

Answers

Using programming libraries is one way of incorporating existing code into new programs is a true statement.

What exactly is a programming language and how do programs relate to it?

A notational scheme used to write computer programs is known as a programming language. Although they may also be graphical, formal text-based programming languages make up the majority of the field. They are an assortment of computer languages.

Therefore, Programmers can use a collection of prewritten code called a programming library to streamline tasks. This library of reused code typically focuses on a small number of widespread issues. Several different pre-coded components are typically included in a library and thus from time to time can be place on a new program if need be.

Learn more about libraries from

https://brainly.com/question/28101070?source=archive
#SPJ1

computer hardware refers to

Answers

Answer: Hardware refers to the computer's tangible components or delivery systems that store and run the written instructions provided by the software

Explanation:

Answer:

refers to computer's tangible components or delivery systems that store and run the written instructions provided by the software

Jasper created a slide with three pictures and text with font size 16. What should he do to make his slide easy to read and engaging? Group of answer choices Choose one picture and increase the font size to at least 18. Decrease font size and add more pictures. Get rid of all the pictures and increase the font size to 44. Remove all text and add one more picture.

Answers

Answer:

Choose one picture and increase the font size to at least 18 or Decrease font size and add more pictures.

Explanation:hope this helps ^-^

how is interaction of electrons with the nucleus of an atom similar to the interaction of two magnets?

Answers

Answer:

One of the harder ideas to grasp in fusion is that nuclei, which, because of their electric charge, strongly repel at long range

(compared to the size of a nucleus), can strongly attract at short range. This activity allows students to explore a similar situation in

which

the magnetic interaction provides the repulsion (similar to the electric interaction within

the nucleus) and Velcro provides an attractive force at short range (similar to the nuclear

strong interaction).

Explanation:

Write a python program the find out the average of a set of integers using a WHILE loop.

Answers

amount = int(input("How many numbers will you append?: "))

list = []

for i in range(amount):

   list.append(int(input("Number "+str(i+1)+": ")))

   

print("The average is:",sum(list)/amount)

The code written by the other person is not optimized. Instead, you can use this code with only 7 lines.

Python programming that is used to find out the average of a set of integers using a WHILE loop is as follows:

        amount = int(input("How many numbers will you append?: "))

        list = []

            for i in range(amount):

        list.append(int(input("Number "+str(i+1)+": ")))

            print("The average is:",sum(list)/amount).

What is the significance of Python programming?

Python is commonly used for developing websites and software, task automation, data analysis, and data visualization. Since it's relatively easy to learn, Python has been adopted by many non-programmers such as accountants and scientists, for a variety of everyday tasks, like organizing finance.

Python can create an intuitive and interactive user interface for your website or mobile application. It is an excellent language for new-age technologies and concepts such as Big Data, Machine Learning, Data Analysations, Visualisations, and many more.

Therefore, python programming that is used to find out the average of a set of integers using a WHILE loop is well described above.

To learn more about Python programming, refer to the link:

https://brainly.com/question/26497128

#SPJ2

Which activities would Full Screen Reading View be most helpful for? Check all that apply.
editing a document
removing text from a document
reading a document
Dwriting a document
looking at the layout of a document

Answers

Reading a document and looking at the layout of a document are the activities for which Full Screen Reading View is quite helpful.

What exactly is a Document?

A document is a type of information that may be useful to one or more users. This data can be in both digital and nondigital formats. As a result, a document can be digital or nondigital. Digital and nondigital documents are stored using various methods and layouts.

A nondigital or paper document can be physically stored in a file cabinet, whereas an electronic or digital document is stored as one or more files in a computer. A database can also include digital documents. Electronic document management software is used to manage, store, and secure electronic documents.

To learn more about Document, visit: https://brainly.com/question/28578338

#SPJ9

Workers at a particular company have won a 7.6% pay increase retroactive for six months. Write a program that takes an
employee's previous annual salary as input, and outputs the amount of retroactive pay due the employee, the new annual
salary, and the new monthly salary. For example:

Answers

The C++ code for the program in question will be as follows:

#include <iostream>

using namespace std;

int main()

{

double oldSalary, retroSalary, newSalary, increaseSalary, newMonthlySalary;

const double payIncrease = .076;

 

cout << "Enter your old annual salary." << endl;

cin >> oldSalary;

newSalary = (oldSalary * .076) + oldSalary;

increaseSalary = newSalary - oldSalary;

newMonthlySalary = newSalary / 12;

retroSalary = (oldSalary / 2) * payIncrease;

cout << endl;

cout << "Your new annual salary is: $" << newSalary << endl;

cout << "You received a $" << increaseSalary << " increase in salary." << endl;

cout << "You will receive $" << retroSalary << " in retroactive salary." << endl;

cout << "Your new monthly salary is: $" << newMonthlySalary << endl;

return 0;

}

What is C++ programming? Why is it useful?

Applications with great performance can be made using the cross-platform language C++. As a C language extension, it was created by Bjarne Stroustrup. With C++, programmers have extensive control over memory and system resources.

Given that C++ is among the most widely used programming languages in use today and is used in embedded devices, operating systems, and graphical user interfaces, it is helpful. C++ is portable and may be used to create applications that can be converted to other platforms since it is an object-oriented programming language, which gives programs a clear structure and allows code to be reused, reducing development costs.

To learn more about C++, use the link given
https://brainly.com/question/24802096
#SPJ1

Can someone please help me with this?

Answers

Answer:

no

Explanation:

Name six different administrative controls used to secure personnel

Answers

The  six different administrative controls used to secure personnel are: Preventative, detective, corrective, deterrent, recovery, directive, and compensation.

What controls have the additional name "administrative controls"?

To lessen or restrict exposure to a particular hazard at work, administrative controls, also known as work practice controls, are used. When substitution, omission, or the use of engineering controls are not practical, this type of hazard control alters the way work is done.

Therefore, Policies, processes, or guidelines that outline employee or company practices in keeping with the organization's security objectives are referred to as administrative security controls.

Learn more about administrative controls from

https://brainly.com/question/15134135
#SPJ1

Could some help me please

Design a program to determine if a student is entitled to an incentive granted upon payment of his/her Boarding Fee in full. Accept the boarding fee and the amount paid. Output a message stating whether the incentive will be granted. (Required: IPO Chart)​

Answers

The program to determine if a student is entitled to an incentive is illustrated below:

#include <stdio.h>

int main() {

int num;

printf("Enter an integer: ");

scanf("%d", &num);

// true if num is perfectly divisible by 2

if(num % 2 == 0)

printf("%d is even.", num);

else

printf("%d is odd.", num);

return 0;

}

python program.

num = int(input("Enter a number: "))

if (num % 2) == 0:

print("{0} is Even".format(num))

else:

print("{0} is Odd".format(num))

Pseudocode:

0. Start

1. Print "Enter Any Number to Check, Even or Odd"

2. Read input of a number

3. If number mod = 0

4. Print "Number is Even"

5. Else

6. Print "Number is Odd"

7. End

What is a computer program?

A computer program is a set of instructions written in a programming language that a computer can execute. Software includes computer programs as well as documentation and other intangible components.

Source code refers to a computer program in its human-readable form. In this case, the program to determine if a student is entitled to an incentive granted upon payment of his/her boarding fee in full is given.

Learn more about programs on:

https://brainly.com/question/1538272

#SPJ1

Can anyone hep me in this question pls?...

Answers

The operations from the highest priority to the lowest priority in Javascript are 1. Opeartions enclosed in parentheses 2. Exponentiation 3. Multiplication and divison and 4. Addition and Substraction.

What is Operator precedence?

How operators are parsed in relation to one another depends on operator precedence. Higher precedence operators become the operands of lower precedence operators.

Operator  Operation Order of Precedence Order of Evaluation

     ++         Increment           1                                  R -> L

     --         Decrement           1                                  R -> L

     -                  Negation           1                                  R -> L

     !                     NOT                   1                                  R -> L

 *, /, %      Multiplication,

                 division, modulus          2                                  L -> R

  +, —  Addition, subtraction  3                                  L -> R

   +              Concatenation          3                                  L -> R

 <, <= Less than, less than,

                       or equal                  4                                  L -> R

 >, >= Greater than, greater than,

                      or equal                 4                                 L -> R

To learn more about Javascript, visit: https://brainly.com/question/16698901

#SPJ1

Which is referred to as the "Banker's Bank?"
(1 point)
FDIC
Treasury Department
IRS
The Federal Reser
ve (The Fed)

Answers

The option D: The Federal Reserve (The Fed) is referred to as the "Banker's Bank".

What exactly does the Federal Reserve do?

To guarantee that the financial system supports a strong economy for American people, communities, and businesses, the Federal Reserve analyzes financial system risks and actively participates at home and abroad.

Note that The United States of America's central banking system is called the Federal Reserve System. With the passage of the Federal Reserve Act on December 23, 1913, it was established in response to the need for centralized control of the monetary system to prevent financial crises following a string of financial panics.

Learn more about Federal Reserve from

https://brainly.com/question/382312
#SPJ1

there are many advantages of passing this fiverr seo test, i will write down some followings

Answers

There are the many advantages of the passing this Fiverr SEO test are the provided the ability to the test are the based on the skills.

What is test?

The term test refers to the analysis of the candidate's knowledge of the subject and the topic. The test includes the question and the answer basis for the observer to have given the marks. The test will determine whether the candidate is qualified for the position and will move the class forward.

According to the Fiverr test, the market quality of search engine marketing is tested. Fiverr allows vendors to take talent tests in order to confirm the skills they list. As a seller, passing competency tests increases buyer respect by proving your skills.

As a result, the many advantages of the passing this Fiverr SEO test are the provided the ability to the test are the based on the skills.

Learn more about on test, here:

https://brainly.com/question/18086799

#SPJ1

component that collects data from peapleb or other devices and sends it to the computer us called​

Answers

The component that collects data from people or other devices and sends it to the computer, is called the Input device.

What are input devices?

The data is received by input devices in a format that the computer can understand, and it is then sent to the processing unit. The electronic circuitry in the processor, more formerly known as the central processing unit (CPU), transforms input data into the desired information.

Therefore, the input device is the part of the system that gathers data from people or other sources and transmits it to the computer.

To learn more about input devices, refer to the link:

https://brainly.com/question/13014455

#SPJ1

On a computer with 32-bit addresses, suppose we have a 2 GB main memory, that is byte addressable, and a 512KB cache with 32 bytes per block.

What would be the format of the memory address for fully associative caching technique?

Answers

The format of the memory address for fully associative caching technique is option C:  c) TAG= 13 SET = 14 WORD =5.

The definition of fully associative cache

A fully associative cache allows data to be stored in any cache block rather than forcing each memory address into a specific block. — Data can be stored in any vacant block of the cache when it is read from memory.

Note that the term "fully associative mapping" refers to a cache mapping technique that enables mapping of the main memory block to an openly accessible cache line.

Furthermore, data could be stored in any cache block with a fully associative cache. Every memory address wouldn't have to be confined to a specific block and option c best fit the statement above.

Learn more about caching from

https://brainly.com/question/3522040
#SPJ1

Suppose you work for a company that has just hired a new senior vice president. After reviewing the budgets of all departments, the new VP went on record saying that the amount of money spent on cybersecurity is too large in proportion to the size of the company. She recommends an immediate 23 percent reduction in the cybersecurity budget. she has decided on this amount after informal conversations with other companies that have about the same number of employees. However, these other companies perform completely different functions: one company is in manufacturing while the other is a service organization, neither of which is the same as your company. The new VP says she will retract her recommendation if someone can prove that there have been no significant attacks due to the money spent on cyber defenses and not just because your company is unattractive to threat actors

Answers

Answer:

Explanation:

Suppose you work for a company that has just hired a new senior vice president. After reviewing the budgets of all departments, the new VP went on record saying that the amount of money spent on cybersecurity is too large in proportion to the size of the company. She recommends an immediate 23 percent reduction in the cybersecurity budget. she has decided on this amount after informal conversations with other companies that have about the same number of employees. However, these other companies perform completely different functions: one company is in manufacturing while the other is a service organization, neither of which is the same as your company. The new VP says she will retract her recommendation if someone can prove that there have been no significant attacks due to the money spent on cyber defenses and not just because your company is unattractive to threat actors

Java Question: What is printed as a result of executing the code segment?

Answers

The answer should be [tex]7.[/tex]

Importance of page break in Ms word

Answers

Answer:

Page breaks are used to end a page without filling it with text. To make sure the title page of your thesis/dissertation is separate from the signature page, for example, insert a page break after the graduation date on the title page.

PLEASE GIVE BRAINLIEST THANK YOU!!!

PYTHON
The assignment:
41.3 Summing LoD
Use the Loop Summing Pattern to calculate and print the total score of all the games in this list of dictionaries:

games = [
{"Name": "UD", "Score": 27, "Away?": False},
{"Name": "Clemson", "Score": 14, "Away?": True},
{"Name": "Pitt", "Score": 32, "Away?": True},
]

It's a list of dictionaries, so I'm having difficult accessing this.

Answers

Using the knowledge in computational language in python it is possible to write a code that  use the Loop Summing Pattern to calculate and print the total score of all the games in this list of dictionaries.

Writting the code:

games = [

   {"Name": "UD", "Score": 27, "Away?": False},

   {"Name": "Clemson", "Score": 14, "Away?": True},

   {"Name": "Pitt", "Score": 32, "Away?": True},

]

total_score = 0  # initialize total_score to 0

for d in games:     # go through all dictionaries of games list

   total_score += d["Score"]   # add each score to total_score

# print total score with a print function

print(total_score)

See more about python at brainly.com/question/18502436

#SPJ1

Other Questions
Is Alzheimers a point mutation or frameshift mutation? When analyzing two quantitative variables, what is the first thing that should be done?. Question 4 of 5The U.S. Constitution creates a balance between the state and nationalgovernments. This is an example ofOA. federalismOB. checks and balancesC. representative democracyOD. separation of powersSUBMIT Dna replication relies on the blank______ of dna strands according to the blank______ rule. question is in the picture. According to the lab 10 lecture, what can cause morphological traits to be potentially misleading and result in inaccurate phylogenetic trees?. NO LINKS!! Please help me with the Angle Proofs Part 4 Under similar warm, moist climatic conditions, why would basalt and gabbro generally have higher chemical weathering rates than rhyolite and granite?. Which of the substances below are represented with their proper formulas?a. Elemental phosphorus, P4b. Elemental copper, Cuc. Elemental oxygen, O2d. Elemental sodium, Na+e. Elemental boron, B2 The price of a used car is discounted $200 each week. Joel earns a commission of 5% on the audio equipment he sells, and the store keeps the rest. He sells a $750 amplifier.(b) How much does the store keep? Given f(x)= x^2 +2x-8 and g(x)= x+2, find (fog)(x). Help is greatly appreciated. Thanks! winnebagel corporation currently sells 20,000 motor homes per year at $103,000 each and 14,000 luxury motor coaches per year at $155,000 each. the company wants to introduce a new portable camper to fill out its product line; it hopes to sell 25,000 of these campers per year at $19,000 each. an independent consultant has determined that if the company introduces the new campers, it should boost the sales of its existing motor homes by 2,700 units per year and reduce the sales of its motor coaches by 1,300 units per year. what is the amount to use as the annual sales figure when evaluating this project? note: do not round intermediate calculations. two construction cranes are each able to lift a maximum load of 10000 n to a height of 150 m. however, one crane can lift that load in 1 4 the time it takes the other. how much more power does the faster crane have? harriet recently purchased 100 shares of abc preferred stock, paying a 4% dividend. which of the following statements is correct? a) young, high-income investors looking for returns in the form of capital appreciation are the primary purchasers of preferred stock. b) harriet must receive her $40-per-share dividend before the common stockholders receive their dividends. c) harriet will stop receiving dividends after 10 years. d) if abc preferred stock is cumulative, harriet must receive any unpaid abc preferred stock dividends from prior periods before abc can pay any dividends to their common stockholders. Which analytic used in healthcare is calculated as a proportion of new cases compared to person-time unit?A. Cumulative incidentB. Morbidity rateC. PrevalenceD. Incidence rate Which is greater 10*4mg or 13g I need help please!!! Use the ray tool to graph f(x) = |-x 5|.First plot the endpoint of the ray, then any point on the ray. Please help me out with this question which graph shows a line with a slope of -2/3 passing through (-1,0)