Write a program that lets the user play the game of Rock, Paper, Scissors against the computer. The program should work as follows. 1. When the program begins, a random number in the range of 1 through 3 is generated. If the number is 1, then the computer has chosen rock. If the number is 2, then the computer has chosen paper. If the number is 3, then the computer has chosen scissors. (Don’t display the computer’s choice yet.) 2. The user enters his or her choice of “rock”, “paper”, or “scissors” at the keyboard. (You can use a menu if you prefer.) 3. The computer’s choice is displayed. 4. A winner is selected according to the following rules: • If one player chooses rock and the other player chooses scissors, then rock wins. (The rock breaks the scissors.) • If one player chooses scissors and the other player chooses paper, then scissors wins. (Scissors cuts paper.) • If one player chooses paper and the other player chooses rock, then paper wins. (Paper wraps rock.) • If both players make the same choice, the game must be played again to determine the winner. Be sure to divide the program into functions that perform each major task. Include the code and the console output from running your program with test inputs in your report.

Answers

Answer 1

#include <iostream>

#include <ctime>

#include <conio.h>

using namespace std;

bool player_won (int player, int computer)

{

   switch (player)

   {

   case 1:

       if (computer==2)

           return false;

       else return true;

   case 2:

       if (computer==3)

           return false;

       else return true;

   case 3:

       if (computer==1)

           return false;

       else return true;

   }

}

main ()

{

   cout<<"Rock, paper scissors by TheMaster999"<<endl;

   srand (time(NULL));

   while (true)

   {

       int computer=rand()%3+1;

       int player;

       cout<<"If u choose rock type 1, if u choose paper type 2, if u choose scissors type 3"<<endl;

       cin>>player;

       if (player==computer)

           cout<<"Draw, play again"<<endl;

       else if (player_won(player,computer))

       {

           cout<<"Congratulations, you won!"<<endl;

           break;

       }

       else

       {

           cout<<"You lost :("<<endl;

           break;

       }

   }

   cout<<"Thank you, for playing my game"<<endl;

   getch();

   return 0;

}


Related Questions

Different research papers written according to the same set of style guidelines will



be formatted and structured similarly.


contain the same number of citations.


share common sources.


cover the same material.

Answers

Your answer will be A

Answer:

Different research papers written according to the same set of style guidelines will be formatted and structured similarly.

Explanation:

The set of style guidelines establishes the format in which the papers are written, despite the number of citations, the sources and the materials used in the investigation.  

The set of style guidelines generally determines: the size of the paper sheet; recommended fonts; the size of the letters; the size of the margins; how to make citations; which sections are essentials; how to include graphs, equations and tables; within others.

Harold has been working as a real estate agent. He has a lot of housing data to report and needs help organizing his data sheet for an effective presentation. In one of Harold's columns there are too many numbers after the decimal place. Harold does not need this level of detail. It is distracting from the data and he really only needs two numbers after the decimal. How could Harold make the data appear cleaner in the most efficient way?

a) decrease the column width
b) re-enter all numbers and only enter two decimal places
c) decrease the font size
d) use the Number group to decrease number of digits displayed

Answers

Answer:

d: use the Number group to decrease the number of digits displayed.

Explanation:

Click on the home tab and choose Number from the ribbon. Make sure the Number tab is selected and choose the number of decimal places you want


Mary's manager told her she should insert a graphic into her documentWrite Mary a brief note describing how to insert a graphicin a word processing document.

Answers

Answer:

go to your tools bar then select insert and insert the graphic with one of the tools in the select bar.

Explanation:

Final answer:

To insert a graphic into a word processing document, choose 'Insert' from the application menu, then 'Picture' or 'Image', and browse for your graphic file. After selecting the file, click 'Insert' or 'Open' to place it in the document. Adjust its size and placement as needed.

Explanation:

Hi Mary,

To insert a graphic into your document, you'll first need to locate the appropriate graphic file on your computer or online. In your word processing program, select 'Insert' from the menu at the top of the screen. From the drop-down menu, choose 'Picture' or 'Image', and then browse for the graphic file you want to insert. Once you've selected the file, click 'Insert' or 'Open' to add it to your document. You can also adjust the size and placement of the image by clicking on it and dragging the corners or edges.

Remember, appropriate use of graphics can enhance your document and make it more interesting to read!

Good luck!

Learn more about Inserting Graphics here:

https://brainly.com/question/32881218

#SPJ2

Java and C++ are examples of _____.assembly languagehigh-level languagesmachine languagecompiler languages

Answers

Answer:

High-level languages.

Explanation:

A high-level language is a computer programming language that are closer to human language and enables a computer scientist to write definite computer instructions that are independent of a particular type of computer.

Java is a compiled as well as interpreted language, while C++ is a compiled language only. But both are high-level languages.

Permission must be sought in order to use a play that is in the public domain. True or False?

Answers

Answer:

False

Explanation:

Permission can't be sought in order to use a play that is in the public domain.

Write an expression that evaluates to true if the integer variable x contains an even value, and false if it contains an odd value

Answers

Answer:

Explanation:

I don't know what language you use, but mod is a common command in almost all of them. You could write it like this

for x = 1 to 10 do begin

 if x mod 2 = 0 then print x " is even."

 id x mod 2 = 1 then print x  " is odd."

end;

Which view in a presentation program displays a split window showing the slide in the upper half and a blank space in the lower half?

Answers

Final answer:

The view in a presentation program that displays a split window showing the slide in the upper half and a blank space in the lower half is called the Outline and Slide view.

Explanation:

In a presentation program, the view that displays a split window showing the slide in the upper half and a blank space in the lower half is called the Outline and Slide view.

This view allows you to see a preview of your slides in the upper half of the window, while providing a space for writing notes, creating an outline, or inserting additional content in the lower half.

By using the Outline and Slide view, you can easily plan and structure your presentation while simultaneously reviewing each slide.




Spoons are designed to be used for:




spring hammering.



applying body filler.



identifying high and low spots.



sanding highly formed areas.

Answers

Answer:

2. Applying Body Filler

B is the answer! Hope this helped

You are to write a series of steps that anyone could follow to solve the following three problems: 1. Even Odd a. Assume that someone tells you a number (an integer number) b. You hear the number and respond with the word even or odd 2. Average a. Assume that someone tells you between 3 and 5 numeric values. b. You hear the numbers and respond with the average is some number 3. Dog or Cat a. Explain to a child the differences between a dog and a cat. b. Your explanation could be used by a child or anyone to distinguish the difference between a dog and a cat

Answers

Answer:The image distance is found using the lens equation, 1/f=1/p+1/q, so 1/1=1/2+1/q 1, so q 1 =2; the magnification is m 1 =-q/p=-1 and the image is real since q 1 >0. Now, as you suggest, insert a diverging lens (red) with f 2 =-3 cm ( f 2 <0) 1 cm to the right of the first lens so that the first image never actually forms.

Explanation:

1. Perform the following Binary Additions 101101 + 10100 *

Your answer

2. Perform the following Binary Additions 01010011 + 01110110 *

Your answer

3. Compute the following 101101 - 10100 *

Your answer

4. Compute the following 11001011 - 1010110 *

your answer

Answers

Answer:

1.         carry   1  1  1

                      1  0 1 1 0 1

                      +  1 0 1 0 0

                       ------------------------

   Answer: 1  0 0 0  0 0 1  

2.         carry  1 1  1 0 1  1  

                     0 1 0 1 0 0 1 1

                  + 0 1 1  1 0  1  1 0

                  --------------------------

    Answer: 0 1  1 0 0 1 0 0 1

3.                   1 0 1 1 0 1

                    -   1 0 1 0 0

                   -------------------------

       Answer: 0 1 1 0 0 1

4.                      1 1 0 0 1 0 1 1

                      -    1 0 1 0 1 1 0

                     -----------------------------

        Answer:   01 1 1 0 1 0 1

Explanation:

In Binary addition when you add 1 + 1 = 0, carry over the 1, i.e 10

in Subtraction when you subtract 0-1 = 1,  brow 1 from left side, resulting in -1 carried over.

Answer:

Solutions:

Ans#1:

   101101

+   10100

1000001  

Ans#2:

01010011

+01110110

11001001

Ans#3:

101101

- 10100

011001  

Ans#4:

11001011

- 1010110

10010100

Explanation:

The given answers are in Binary.

In binary we add the digits in 1 and 0 form.

Addition in Binary:

1 + 0 = 1

0 + 1 = 1

0 + 0 = 0

1 + 1 = 10

Subtraction in Binary:

1 - 0 = 1

1 - 1 = 0

0 - 1 = 1 (it's because the 0 borrows a 1)

0 - 0 = 0

If an image has only 4 colors, how many bits are necessary to represent one pixel’s color?

Answers

Answer:

4 colors can be represented by 2 bits and the mode CGA

Explanation:

To represent one pixel’s color in an image with 4 colors, you need 2 bits.

To determine the number of bits necessary to represent one pixel's color in an image with only 4 colors, we need to understand some basic concepts about bit representation and binary values.

A bit is the smallest unit of data in computing, representing a binary value of either 0 or 1. The number of unique colors that can be represented is calculated by the formula 2n, where n is the number of bits.

If an image has only 4 colors, we set up the equation as follows:

[tex]2n = 4[/tex]To find n, we calculate the base-2 logarithm of 4:[tex]n = log2(4)[/tex]Since 4 is 22, we see that:[tex]log2(4) = 2[/tex]

ramp charts are generally created in
word
lotus
excel
powerpoint​

Answers

Answer: Ramp Chrts are generally created in Excel

Ramp charts are generally created in excel

While the project seems to have an interesting approach in extracting maximum value for investors, the token has performed pretty dismally over the past year.

How does ramp work crypto?

A cryptocurrency on-ramp refers to an exchange or similar service where you can offer fiat money in return for cryptocurrency. For anyone to become involved in cryptocurrency, their first step will often be to simply buy some.

What is Excel use for?

Microsoft Excel enables users to format, organize and calculate data in a spreadsheet. By organizing data using software like Excel, data analysts and other users can make information easier to view as data is added or changed.

To learn more about Microsoft Excel, refer

https://brainly.com/question/21382498

#SPJ2

"Which of the following will help protect against a brute force attack?
a. A password that has six characters.
b. A password that consists of a mixture of letters, numbers, and symbols.
c. A password that consists of all capital letters.
d. A password that includes at least three consecutive letters of part of the user’s name"

Answers

Answer:

B

Explanation:

A complex and unpredictable password would prove very hard to guess or deduce for any attacker.

You are most likely to automatically encode information about

Answers

Answer:

You are most likely to automatically encode information about the sequence of your day's events.

Two technicians are discussing lead acid batteries. Technician A says that a battery with more plates in each cell increases the battery's voltage. Technician B says that a battery with more plates in each cell increases its current capacity. Who is correct?

Answers

Answer:

Technician B is correct.

Explanation:

Because plates are connect in parallel in each cell therefore Voltage remains constant and current will be increase. when we purchased any battery whose numbers of plates are more its voltage always 12 V but current varies, if plates are more current will be more and plates are less the current will be low.  

Answer: B

Explanation: the increment of the players number in relation to the cell can emit more output current. Decreasing players number allows them to be thicker and prone to wear due to deep discharge.

The narrative structure of the popular movies can be broken down into

Answers

Answer:

Three acts

Explanation:

ACT 1 is the Set up (25%): This act is what grabs the audience and within the first 10 minutes or so of the movie, they will decide whether they like the film or not.

ACT 2 is confrontation (Midpoint 50%): Act 1 ends and we jump to act 2. The main character in this section has to face problems that escalate and become more and advanced. This is where they confront their enemies quite helplessly up until a certain point where things start to turn around.

ACT 3 is the Resolution (25%): The hero takes control and achieves a final, decisive victory.

Final answer:

The narrative structure of popular movies typically follows a plot arc, which includes exposition, rising action, climax, falling action, and resolution, though variations exist such as flashbacks or theme-centered anecdotes. These structures are chosen to engage audiences and build emotional connections with the characters.

Explanation:

Narrative Structures in Popular Movies

The narrative structure of popular movies can be quite dynamic and diverse. Most narratives, including those in film, follow a general structure known as an arc. This arc typically includes the exposition, rising action, climax, falling action, and resolution, allowing for character and plot development and building the emotional impact of the story. Various movie genres, whether it be tragedy, comedy, history, or romance, usually adhere to the traditional structure of act, scene, and line, albeit with creative variations in how the plot unfolds—the sequence of events is essential for engaging the audience. For instance, a plot might evolve through flashbacks, anecdotes centered around a theme, or even in reverse chronological order, all aiming to maintain the tension and the viewer's curiosity. The movie business often influences certain repetitive elements seen in films, such as action, drama, and romance, which are believed to keep the audience engaged and coming back for more.

In the realm of narrative cinema, the plot-driven arc is only one facet of storytelling. Character-driven narratives prioritize the development of an individual, typically the protagonist, and focus on showcasing an emotional connection between this character and the audience. Therefore, when examining the structure of a narrative in popular movies, it is important to consider how both plot and character arcs play a role in shaping the story's progression and the viewers' experience.

A user is given Read permission to a file stored on an NTFS-formatted volume. The file is then copied to a folder on the same NTFS-formatted volume where the user has been given Full Control permission for that folder. When the user logs on to the computer holding the file and accesses its new location via a drive letter, what is the user's effective permission to the file?

a. Read
b. Full Control
c. No access
d. Modify
e. none of the above

Answers

Answer:

Explanation:

D

Modify can refer to changing user account permissions for file and folder access, thus giving or taking away the ability of a user to view and make changes to files or folders.

Modifying permissions can only be done by the administrator for a computer (or administrator account) or the owner of a file or folder.

The user's effective permission to the file is  d. Modify

What is modify program?

The Mentoring and Oversight for Developing Independence with Foster Youth (MODIFY) with the Center for Excellence in Disabilities (CED) provides on-going services to youth who are transitioning out of the foster care system.

To learn more about Modify, refer

https://brainly.com/question/6021549

#SPJ2

jean has kept the content of her website limited to what is important; she has also ensured that the text follows a particular style and color all throughout her website. which website features has jean kept in mind?


jean has limited the content of her website to what is important; this ensures ____ (clarity, simplicity, harmony and unity) of the content. she has also formatted the text in a particular style and color throughout her website, ensuring ___ (balance, simplicity, consistency)

Answers

Answer:

clarity and balance

Explanation:

this is because firstly a website is mainly used by the public. jean reduced the content of her website so it would take people to the main reason of the why the website was created.

secondly she formatted the text and color on her website to a particular colour so it would look professional and more reasonable.

The website features has jean kept in mind is simplicity and consistency.

Simplicity in web designs is the act of removing all unwanted elements from a particular website.

It is called sleek and clean layout and a uniform colour scheme to maintain consistency.

Design consistency is the act of keeping all of the repeating elements of your website the same in the whole site.

This contains all from the placement of buttons and icons to the colors and fonts you do use.

Conclusively, a good website must be optimized for Mobile, fresh, have good quality content. etc.

Learn more from

https://brainly.com/question/14849342

what are the three parts to physical security standards for various types of army equipment and the risk level

Answers

The three parts to physical security standards for various types of army equipment and the risk level is access control, surveillance, and security testing.

Further explanation

Physical security is the part of security concerned with physical measures designed to protect the assets and facilities of the organization.  

The three parts to physical security standards for various types of army equipment and the risk level is access control, surveillance, and security testing.

Access control is a security technique in which regulates who/what can view/use resources in a computing environment. The example of physical access control is the locks, badge system, and security guard.

Surveillance is the condition in which the architects seek to build spaces that are more open to security personnel and authorized users. It is also the continuous monitoring of, for example, the disease occurrence. The example of surveillance is Closed-circuit television cameras (CCTV) placed in the streets.

Security testing is the evaluation and testing the information security of hardware, software, networks, and IT environment. Error handling and specific risky functionalities are examples of security testing

Learn more

1. Learn more about the security practice in electronic banking https://brainly.com/question/7668763

 

Answer details

Grade:  9

Subject: Computers and Technology

Chapter:  Physical security standards

Keywords:  physical security, access control, surveillance, security testing

Physical security is indeed the element of insecurity that is concerned with performance barriers designed to protect both assets or infrastructure of the corporation."Access control, monitoring, and security testing" are the three components of physical security standards for various types of armed equipment or risk levels.The access control technique is a security technique that controls who/what can view/use resources in cloud computing. Locks, badge systems, & security guards are types of active access control laws.As a result of surveillance, architects construct spaces that are more easily accessible to security officials or authorized users. It involves, for instance, the continuous monitoring of illness outbreaks. Closed-circuit television cameras put throughout the street are an instance for surveillance.Tests of data security on hardware, programs, or networks were conducted as part of security testing. Studies of security of error checking or certain potentially dangerous operations are instances of security testing.That's why "Access control, monitoring, and security testing" are the three components of physical security standards for various types of armed equipment or risk levels is the correct answer.

Learn more:

security in electronic banking: brainly.com/question/7668763

When would you use the "enable low-resolution video" option?

Answers

Answer:

Typically, when internet connection is not fast enough where you can watch 1080p videos, you would lower the screen resolution.

Explanation:

Higher quality videos take up more space, and if your connection is not fast enough that will lead to the video buffering.

Helen is 72 years old and is a retired school teacher on a fixed income. She would like to buy a new computer so that she can communicate via email, follow friends and family on social media, and occasionally access recipes and gardening tips from the Web. An important thing to consider is that Helen has arthritis in her hands, making it difficult for her to work with small buttons and gadgets. So, of the following options, her best choice is probably a(n) ________.

a. e-book
b. nettop
c. desktop
d. smartphone

Answers

Answer:

net top

Explanation:

b.nettop is correct

Individuals suffering from technology overload feel distressed when deprived of computers and mobile devices.True/fasle

Answers

Answer:

False

Explanation:

Assume that x is a variable that has been declared as an int and been given a value. Assume that oneMore is a function that receives a single integer parameter and returns a value that is one greater than its argument. (So if you pass 7 to oneMore it will return 8. Thus, the expression oneMore(9) has the value 10. Write an expression whose value is four more than x without using the standard Java arithmetic operators (*,+, etc.). Instead, use calls to oneMore to accomplish this. In this exercise you must write this as a single expression-- you must not write any statements. Also, you may only use the oneMore function-- no other functions or operators.

Answers

oneMore(oneMore(oneMore(oneMore(x))))

In a display device, response rate is the time it takes for one pixel to change from black to white then back to black.​

a. True

b. False

Answers

Answer:

True

Explanation:

While looking to purchase a new monitor, it is worth considering an essential factor called response time. You might never notice this transition, but response time in monitors is the time the input signal of your monitor switches colors from “black” to “white” and then back again to black. It is time it takes to change, that can be measured and determined, and thus, a low response rate is preferred. It is an essential aspect of display devices since it is somehow dependent on the rendition of motion of the monitor screen.

1.where should the name of the website or company logo appear on a website

a. contact page

b.every other page

c. every page

d.first page


2. how many color schemes should be used on a single website?

a.one

b.two

c.three

d.four

Answers

Answer:

1. First Page

2. Two Colors

Three or four at least

__________bits equal one byte.EightTenSixty-fourThirty-twoSix

Answers

There are eight bits in one byte.

Hope this helps!


_____ are special combinations of keys that tell a computer to perform a command.

Keypads
Multi-keys
Combinations
Shortcuts


Answers

Answer: the answer would be shortcuts

Explanation:

Answer:

shortcuts

Explanation:

Which of the following is an example of an input device?A barcode readerAn organic light-emitting diodeAn inkjet printerA cathode ray tube

Answers

A barcode reader since it inputs data into the computer

Write a program to convert a person's height in inches into centimetres #and their weight in stones into kilograms. (1 inch = 2.54 cm and 1 stone = 6.364 kg)

Answers

(Using python)

When running:

measure(the height you want to enter, the weight you want to enter)

When the input is printed you have to re-enter the data (couldn’t fix that)

It will print the conversions as a result

Following are the program to convert height and weight values:

Program:

#include <iostream>//header file

using namespace std;

int main ()//main method

{

  double height, weight,h,w; //defining a doubale variable

  cout<<"Following are the converter of Weight and height: "<<endl;//print message

  cout<<"Enter the height in inches: ";//print message

  cin>>height;//input value

  cout<<"Enter the weight in stones: ";//print message

  cin>>weight;//input value

  h=height* 2.54;//converting height value into centimetres and holding its value in h variable

  w= weight* 6.364;//converting weight value into kilograms and holding its value in w variable

  cout<<"The converted height is "<<h<<" cm."<<endl;//printing the converted value

  cout<<"The converted weight is "<<w<<" kg."<<endl;//printing the converted value

  return 0;

}

Program Explanation:

Defining header file.Defining the main method.Inside the main method defining four double variables that are "height, weight, h, and w".Inside this, the "height, weight" variable is used for input value is the from user-end, and "h, w" is used to convert height and weight value into centimeters and kilograms.After converting the value using the print method that prints its values.

Output:

Please find the attached file.

Find out more information about the conversion here:

brainly.com/question/26240757

When keyboarding, if you want to be fast and accurate you should _____. return your hands on home row with your fingers relaxed and your eyes on the text use only your index fingers to hunt and peck keep your fingers stiff and your eyes on the keys slouch in your chair and keep your fingers hovering over all of the keys

Answers

Answer:

return your hands on home row with your fingers relaxed

Explanation:

Answer:

relax fingers on the home row.

Explanation:

Other Questions
donde esta la leche? please translate XTAX=1. determine their canon- 1. Write the following quadratic forms as V(x) ical forms, find the modal matrices (i.e. the matrices of unit eigenvectors) of the corresponding transformations and write down explicite expressions for canonical cOordinates (y1, 2, y3) in terms of the original coordinates (x1, X2, X3). State what surfaces these quadratic forms correspond to: = > (a) -a x + 4x12 4x1x38x231; (b) 3-33 + 4xrj224x3122a3= 1; (c) 4a7 2x1 2x1X36x2a3 = 1. 2. Solve the following systems of differential equations using the matrix exponential technique 3x 4 (a) x(0) = 5, y(0) = 1; 4x-3y 3.x y(0) = 9, y(0) = 3; -2x 6x2y which sentence uses the word theyre correctly? A. How do they know that its theyre package? B. Theyre going to the beach next weekend. C. Which is theyre house? D. Have you been Theyre before? HURRYYY PLEASE describe the translation y=x^2+5 Lectura Read about Pedro, then indicate whether each statement is cierto or falso. Pedro es de Chile, pero (but) sus padres son argentinos. Muchos de sus parientes viven en Chile. La familia de Pedro es muy grande. Su madre tiene cuatro hermanas y un hermano. Su padre tiene tres hermanos. Pedro estudia en la escuela y su materia favorita es geografa. l no tiene novia, pero tiene muchas amigas en la clase. 1. Los padres de Pedro son argentinos. cierto falso 2. Pedro no tiene parientes en Chile. cierto falso 3. La madre de Pedro tiene cinco hermanas. cierto falso 4. Pedro es artista. cierto falso 5. A Pedro le gusta la geografa. cierto falso 6. Pedro tiene una novia en la escuela. cierto falso which transformation can verify congruence by flipping a triangle over the y-axis How did the establishment of an alliance with Nazi Germany affect Mussolini's internal politics? Which statement best describes people in 'Harrison Bergeron"?OA. People are grouped into social classes based on economics andeducationOB. People are highly intelligent due to the aid of robotic devices.OC. People are equals due to the enforcement of handicaps.OD. People are less focused on beauty and more focused onpersonality Which of the following is not true for antibodies? a. they are proteins b. they are produced in response to the presence of an antigen c. they are capable of interacting with several antigens d. they are abbreviated as lg e. they are present in blood and body secretions radiometric dating is used to determine Figure ABCDE was reflected across the line y=x to create figure ABCDE.What are the coordinates of the pre-image of E? Christie's doctor recommends that she eat 40 grams of protein a day. She's already consumed 50% of her protein recommendation for the day. How many servings of the given snack should Christie have to meet her daily protein recommendation? A. 1 B. 3 C. 4 D. 6 An essay contains 549 words. To the nearest hundred, how many words are in the essay? Thomsons model was called what? ____ are macromolecules that are always non-polarA. WaterB. CarbohydratesC. LipidsD. Proteins A medium-sized pear provides about 102 Calories of energy. HINT (a) Convert 102 Cal to joules. J (b) Suppose that amount of energy is transformed into kinetic energy of a 2.03 kg object initially at rest. Calculate the final speed of the object (in m/s). m/s (c) If that same amount of energy is added to 3.79 kg (about 1 gal) of water at 23.7C, what is the water's final temperature (in C)? The specific heat of water is c = 4186 J (kg C) . C Help with this question, please ASAP!! Gneiss goes through metamorphosis at a higher temperature than slate so it has a higher Why was Maryland a strategic location that Abraham Lincoln was determined to keep in the Union?A. It covered the nation's capital on three sides.B. Its rivers provided vital water power to fuel northern industry.C. It bordered Virginia, providing access to a loyal state.D. It had a warmer climate than most of the North, making its farms more productive. GEOMETRY Please help me