Write code which takes inputs and creates two Rectangle objects (using the edhesive.shapes.Rectangle class) and compares them using the equals method.

JAVA!!

Answers

Answer 1

Answer:

System.out.println("Enter length:");

Scanner scan = new Scanner(System.in);

Double x = scan.nextDouble();

System.out.println("Enter 2 lengths:");

Double a = scan.nextDouble();

Double b = scan.nextDouble();

Rectangle rect = new Rectangle(x);

Rectangle rect2 = new Rectangle (a,b);

if (rect2.equals(rect)){

 System.out.print("Congruent Rectangles");

}

else {

 System.out.print("Different Rectangles");

}

 }

}

Explanation:


Related Questions

The Quick Access tool bar allows you to customize the actions or commands you frequently use.

True
False

Answers

I believe its true.

Why might be one reason a stock becomes more valuable over time?
A. The industry is growing
B. The company is well managed
C. There’s a lot of demand on the product
D. All of the above

Answers

The answer is D all of the above
D all of the above.

What does it mean to be proactive about internet safety?
Spending as little time online as possible to reduce the risk of problems.
Predicting problems before they happen so you can avoid them.
Finding the best way to solve a current problem so you can use it later.
Facing up to the consequences of your mistakes so you can learn from them.

Answers

Answer:

Predicting problems before they happen so you can avoid them.

Explanation:

You should avoid causing trouble, or partaking in it. Being safe on the internet helps reduce bullying, threats, depressing behavior, etc.

I do agre the answer is shoving a stick in dirt

WRITE IN YOUR OWN WORDS:
What is a possible sign that your computer has been hijacked by Botware?

Answers

Answer:

One major sign of a computer being hijacked is the use of system resource by unknown programs. For example, full memory, high cpu usage, slow start up, crashes and errors, and low avalible storage space.

Explanation:

Jon wants to set up a trihomed DMZ. Which is the best method to do so? A. use dual firewalls B. use a single firewall with only two interfaces C. use a single three-legged firewall with three interfaces D. use dual firewalls with three interfaces

Answers

Answer:

The correct option is C) Use a single three-legged firewall with three interfaces

Explanation:

DMZ is an acronym for a demilitarized zone.

A DMZ network is one is situated between the internal network and the Internet. It is supported by an Internet Security and Acceleration (ISA) server.

The interfaces you'd get with the DMZ network are

A public network (Internet Protocol-IP) address  with a public interfaceAn internal network interface with a private network (IP) address  A DMZ interface with a public network (IP) address  

Unlike the back-to-back DMZ settings, a trihomed DMZ is unable to use private IP addresses. To use the trihomed DMZ, public IP addresses are a must suitable requirement.

Cheers!

WHERE DO I GO TO DO THIS AND WHAT DO I WRITE?????
Write a pseudocode plan for your program.
Write the code for your program.
Test your program. Run it at least three times with different inputs.
Save your program as a .txt file for you cannot upload a .py file.
Evaluate your project using this rubric.
What to Submit
Submit the .txt file holding your program.

Answers

You can just look up "python ide online" on google and paste this code:

n = -1

count = 0

while n < 0:

   n = int(input("We're checking to see if a number is prime or not! Enter a positive number: "))

if n % 2 == 0:

   if n == 2:

       print("{} is a prime number".format(n))

   else:

       print("{} is not a prime number".format(n))

else:

   for x in range(n, 1, -1):

       if n % x == 0:

           count += 1

   if count > 1 or n == 1:

       print("{} is not a prime number".format(n))

   else:

       print("{} is a prime number".format(n))

I've written some code that checks to see if a number entered by the user is a prime number or not.

Sorry, but I'm not too good with pseudocode plans and all that. I hope this helps.

Answer:

import math

print("Let's solve ax² + bx + c = 0")

a = int(float(input('Enter a value for a: ')))

b = int(float(input('Enter a value for b: ')))

c = int(float(input('Enter a value for c: ')))

D = b*b-4*a*c

if (D<0):

   print("Sorry, this equation has no solutions.")

elif (a == 0):

   if (b == 0):

       if (c == 0):

           print("Every value of x is a solution")

       else:

           print("Sorry, this equation has no solutions")

   else:

       x = -c/b

   print("The one solution is x={:.3g}".format(x))

elif (D==0):

   x = (-b + math.sqrt(D)) / (2*a)

   print("The one solution is x={:.3g}".format(x))

else:

   x1 = (-b + math.sqrt(D)) / (2*a)

   x2 = (-b - math.sqrt(D)) / (2*a)

   print("This equation has two solutions: x={:.3g} or x={:.3g}".format(x1, x2))

Explanation:

Above is another little program to use the quadratic formula.

what type of formula uses data from multiple worksheets

a. abstract formula
b. hyper formula
c. 3D formula
d. unbounded formula

Answers

Answer: I think its 3D formula

Explanation: ...

what format can be applied to text in excel?

Answers

You can apply accounting format,date,numbers, currency, percentage or even fraction

Which component in a CPU is responsible for transferring
data from one functional component to another?​

Answers

The data bus carries data from components to others

CSS is a language that controls the way content on a web site appears. It uses_______ _____to
change the look of a page.

Answers

Answer:

I'm not sure what the answers are, but when someone is making a website from scratch, they tend to use CSS HTML and JS(javascript)

hope i helped ;)

i emailed someone and im sure that they emailed back however it says nothing has arrived in my inbox what do I do

Answers

Answer:

report it or check ur spam mail or refresh the page

Explanation:

good luck figuring it out :)

A spreadsheet software program requires that users predefine each field’s data type. The software program is most likely programmed using a language that is
open.
predefined.
strongly typed.
weakly typed.

Answers

Answer:

Pretty sure its weakly typed

Answer:

strongly typed

Explanation:

In a science study group, Leonardo explains how atoms make up molecules. Talia repeats what Leonardo says in her own words. How is Talia practicing active listening? She is reflecting on what has been said. She is politely disagreeing with Leonardo. She is asking Leonardo a lot of questions. She is focused on only important information.

Answers

Answer:

A she is reflecting on what leonardo said but in her own words

Explanation:

Answer:

A: She is reflecting on what has been said.

Explanation:

Edge 2020

WILL MARK BRAINLIEST FOR ANYONES ANSWER!

What things would you consider if you were to make a dream computer with $5,000?

Speed:

Reliability:

Cost comparisons:

Ease of use:

Graphics and streaming media capabilities:

lastly, why you made these choices.​

Answers

Answer:

just know that bit gonna be running when I make mine Imma have 720 fps btw today sponsored is nord VPN

Identify an advantage of writing HTML code manually.

You do not have to learn HTML.

You can figure out how the markup affects the function of the site.

You can see rendered HTML as you go.​

Answers

Answer:

1. You retain 100% control over your site and where it is hosted

2. Free WYSIWYG sites aren’t really free

3. You make yourself seem irrelevant to clients

4. You understand your own code

5. Your own code is nearly always more efficient

6. Your own code is more secure

7. It’s easier to iterate your own code

8. Your own code is original

9. Writing your own code helps you grow as a developer

Explanation:

You can choose the points you want. let me know if you need any further information.☺️

Please rate if you happy

Brailliest if you want

Answer:

B. You can figure out how the markup affects the function of the site.

Explanation:

its the correct answer :)

A collection of computers, printers, routers, switches, and other devices
that can communicate with each other over some transmission medium
O network
O host part
subnet part
subnet

Answers

ermano envia foto de lo que necesitas yo te ayudo

why is hip hop and rap so popular

Answers

Answer:

its popular because hip hop and rap is a way for people to express themselves whether it be their feelings or something that happened in their life and it also evolved from different people

If you're driving a car and know there's a motorcyclist around you, you should______. A. Not change your driving B. Check your blind spots frequently C. Remind them to wear a helmet D. Make wider turns than normal

Answers

b check your blind spots frequently i guess not sure

Question 5 of 25
Critics argue that socializing online:
O A. makes us socially savvy and aware.
B. limits the number of posts we read.
C. dilutes the quality of our relationships.
O D. decreases a user's popularity.

Answers

Answer: d

Explanation; Hopes this helps!!

Critics argue that socializing online dilutes the quality of our relationships. Thus, option C is correct.

What is socializing online?

Online socializing refers to the exchange of information between individuals or groups that uses social media platforms to access and alter material including photos, status updates, music, videos, and more.

Socialization on the Internet describes how individuals communicate and the tools they employ to do so. Socialization refers to a culture's peculiar practices, dialect, and language.

They can increase understanding of already-held interests while introducing young people to new concepts and ideas. Additionally, by assisting users in learning about various cultures' ways of life and thinking, they can help users widen their perspectives.

Online socializing, according to critics, degrades the caliber of our connections. Option C is correct as a result.

Learn more about online here:

https://brainly.com/question/19546714

#SPJ5

Who you think is better? Ninja or TFue ,btw do you know who icebear is?

Answers

Answer:

no, no i dont think i will.

Explanation:

Which term means an unsecure protocol used when remotely accessing a computer?

Transmission Control Protocol (TCP)
Secure Shell (SSH)
Telnet
Internet Protocol (IP)

Answers

Answer:

9Internet Protocol (IP)

Answer:

The answer is Secure Shell (SSH)

HELP!!!!!
Your colleague has made a suggested change to an important document you are both working on. You disagree with their suggested change. They will be reviewing the changes you make before the final version of the document is submitted to your boss. You both work remotely and are in radically different time zones. What is the best step to take next?

Answers

Leave the room and let someone else figure it out!

I need help pleaseeee

Answers

Answer:

The Answer is C. Hope you get it right, Good Luck!!!

Answer:

The answer is B

Explanation:

To create a list, paragraph, or unordered list, you should use HTML code, whereas in CSS coding, you can change the overall font size of a tag using the font-size=(number) tag.

The ______ is designed to store audio data on computers and/or digital music players.

A. waveform
B. audio file format
C. sample rate
D. bandwidth

Answers

Answer:

audio file formats of computer

What are the characteristics of calendar sharing options in Outlook 2016? Check all that apply.

Answers

Answer:

a,b,c,e

Explanation:

Answer:

Quit your bickering in the replies on the other answer, this is correct.

Explanation:

¿En cuales situaciones concretas se puede aplicar las técnicas de conteo(particularmente las permutuaciones y las combinaciones) dentro de la informática?

Answers

Answer:

In which specific situations can counting techniques (particularly permutuations and combinations) be applied within computer science? for anybody trying to help

The complete process for learning through repetition is to read, write, say, rest and revisit the information. Please select the best answer from the choices provided T F

Answers

Answer:

True.

Explanation:

The complete process for learning through repetition is to read, write, say, rest and revisit the information.

This ultimately implies that, when an individual indulge in learning through repetition, he or she would is strengthening the single memory trace and as such enhancing the learning process.

Hence, learning through repetition such as reading, writing, saying, resting and revisiting the information is very effective because it engages and activates the visual, auditory, tactile and kinesthetic neural pathways to the brain.

Additionally, it is advisable to wait for about ten (10) minutes in between the repetition process when learning through repetition.

Answer:

True

Explanation:

Just took the quiz.

"prevention is better than cure" Justify this statment.​

Answers

Answer:

Hope

you like it and helpful

Any application that wants to be displayed on the web must use the HTTP protocol
True
False

Answers

Answer:

true

Explanation:

Stay at least _____ behind the vehicle ahead of you at all times.
A. 3 seconds
B. 4 seconds
C. 3 car lengths
D. 4 car lengths

Answers

Answer:

B 4 seconds

Explanation:

You should stay 4 seconds away from a vehicle at all times at the same speed as the other vehicle or vehicles.

B
You should stay 4 seconds away from a car
Other Questions
Pls answer this! I need to get this done before tomorrow and tomorrow I have tons of things to do :( Your grandfather is giving you $1000 to invest he has suggest an account there are 6% annual interest how much money will be the account 10 years from now The answer is 1.39 you silly billies but the answer I need is f so help me find f f + 7.98-------------------- -1.39 What is the term for the process of dirt and rock being moved that led to the Grand Canyon?A.DiffusionB.ErosionC.Mining In a certain company a salesman is paid a fixed salary for $3140 per month plus an annual commision of 2% on the TOTAL value of cars sold for the year. If the salesman sold cars valued at $720000 in 2009 calculate:(i) his fixed salary for the year(ii) the amount he recieved in commision for the year(iii) his TOTAL income for the year Nicholas found the 13th term of the geometric sequence 15, 30, 60, 120 the following way:A(13) = 15 * 213A(13) = 15 * 8,192A(13) = 122,880Is Nicolas correct? Why or why not? (Make sure to justify your answer) If Nicolas is incorrect please state the correct solution. What are the 3 common mistakes throwing a football Three friends each have some ribbon. Carol has 54 inches of ribbon, Tino has 10.5 feet of ribbon, andBaxter has 45 yards of ribbon. Express the total length of ribbon the three friends have in inches, feet, andyards SOMEONE PLEASE HELPONLY ANSWER IF YOU KNOW THE ANSWER I WILL BE REPORTING ANSWERS THAT HAVE NOTHING TO DO WITH THIS I dont understand this Several Friends meet at an ice cream parlor.They order 5 ice cream cones and 3 sundaes and pay a total of $27.30.The ice cream cones cost a total of $14.25.What is the cost of one sundae? Where were African slaves shipped to in the system of Triangular Trade?A) CanadaB) EuropeC) The Thirteen Colonies On the set of axes below, triangle ABC is graphed. Triangles A'B'C'and A"B"C", the images of triangle ABC, are graphed after asequence of rigid motions. Find the equation of the line that passes through points A and B Suppose you have 300.0 mL of a 0.450 M sodium hydroxide solution. How many moles of sodium hydroxide are in the solution? Following World War II, what was one major difference between the United States and the Soviet Union?The United States had a puppet government, whereas the Soviet Union wanted to contain Communism.The United States had a single-party government, whereas the Soviet Union had a democratic government..The United States had a free market, whereas the Soviet Union had a government-controlled economy.The United States had a government-controlled economy, whereas the Soviet Union had a free market. The Firm X just paid a dividend of $1.26 per share on its stock. The dividends are expected to grow at a constant rate of 5% per year indefinitely. If investors require a 10% return on Firm X stock, what is the current price? please help, i really need this answerRead the following scenario:A cooking magazine is producing a feature article about a celebrity chef. The interviews and photo sessions are complete, but the chef has not produced recipes for the magazine to publish. Two weeks before the magazine is set to print, the chefs attorney calls the magazine and says that the chef will no longer be publishing recipes at this time. Which would the managing editor most likely do in this situation?Contact another celebrity chef with whom the magazine has close ties and ask that person to do a last minute feature with his recipes.Work with the chefs television production company to secure archived recipes for print in the magazine, paying for the rights to use the original recipes in the publication.Ask the magazines test kitchen team to research and recreate some of the chefs most popular dishes with all new recipes the magazine will own.Talk to the magazines attorney about suing the chef for breach of contract. 13 Apply Place a check mark in the box to indicatewhich type of mutation is being shown.Original sequencedeletion insertion substitutiondeletion insertion substitutiondeletion insertion substitution What is the value of the blue water drop? (Remember, each of the hangers is perfectly balanced)