1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
pogonyaev
3 years ago
10

Write a method that takes a Regular Polygon as a parameter, sets its number of sides to a random integer between 10 and 20 inclu

sive, and sets its side length to a random decimal number greater than or equal to 5 and less than 12. Use Math.random() to generate random numbers. This method must be called randomize() and it must take a Regular Polygon perimeter.
Computers and Technology
1 answer:
Fantom [35]3 years ago
8 0

Answer:

Answered below

Explanation:

//Program is written in Java programming language

Class RegularPolygon{

int sides = 0;

int length = 0;

}

public void randomize(RegularPolygon polygon){

int randomSides = (int) 10 + (Math.random() * 20);

double randomLength = 5 + (Math.random() * 11);

polygon.sides = randomSides;

polygon.length = randomLength;

}

You might be interested in
8.7 Code Practice: Question 2 edhesive
Lera25 [3.4K]
I got an 100 so yeah this works just typing so it’s 20 letters or something ok thanks

3 0
2 years ago
Read 2 more answers
Brian wants to conduct an online search using a certain phrase he intends to use the word books that belong to the 1800's in his
Andrews [41]

Answer:

Use quotation marks (" ")

Explanation:

It depends on the search engine. For Google, you need to put the phrase inside of quotation (" ") marks. It also works for DogPile and Bing. I can't confirm whether it works with any other search engines, but I can confirm that it works with these three engines.

7 0
3 years ago
Public relations strives to foster goodwill between a client and a audience ​
DENIUS [597]

Answer:

The Statement is True.

Explanation:

Public Relations is the term referred to simply building of relations with the public. The strength of the relation describes how strong or weak is the relation of an individual or an organization with the general public. There could be good or poor public relations. Good Public relations are the intangible assets of a company. The statement written in the question tells us about this intangible assets gaining. Public relations strives to foster goodwill between a client and audience. There is always a relation between the company and the consumers’ of company’s product. Here client is considered as the Company and audience is considered as the consumer of the company’s product. So public relations is a way to promote goodwill between the client and the audience. Good public relations will create satisfied customers that would play a part in fostering the goodwill of the company. So there is a direct relation between the good public relations and goodwill of the company.  

3 0
2 years ago
If you've finished working with a data file but intend to work on it again during your work session, which button would you use
mariarad [96]
Hey there! Hello!

So, not sure if there's actually a button to "close out" a window to where you're able to reopen it again without having to go to where the file is located or go to recents in your application. Keep in mind that I'm on a MacBook, but I have worked on a Windows computer before. 

One thing you can do is minimize the window. Your program will remain open, but your window will remain out of your way until you decide to expand it again. This seems to be the closest thing possible to your description, but if you had something else in mind, I'd love to hear more details.

This won't be a good solution if you're looking to cut down on the energy that certain programs may be taking up while open, even if you're not using them. But in terms of getting the windows off your desktop, minimizing is the way to go. It also allows you to have documents/windows out of the way while still being able to work on other documents/windows in the program (i.e. Microsoft Word, Google Chrome, Pages, etc.)

Hope this helped you out! Feel free to ask me any additional questions you may have. :-)
5 0
2 years ago
Read 2 more answers
Kevin wants an application that will help him create a website as well as publish it. What application can he use?
AURORKA [14]

Answer:

D

Explanation:

Adobe Dreamweaver can hep him make a website and publish it.

3 0
3 years ago
Other questions:
  • What is the difference between www vs internet in information technology?
    13·1 answer
  • Write a function, factors, that takes an integer n, and returns a list of values that are the positive divisors of n. Note: 0 is
    13·1 answer
  • The _________ element enables developers to embed a self-contained web page within another html document.
    12·1 answer
  • You can clear a log file simply by redirecting nothing into it. true or false?
    13·1 answer
  • Customer Premises Equipment (CPE) includes all devices connected to the PSTN, where the ownership and the responsibility for mai
    15·1 answer
  • Face book requires you to change your password regularly<br> a. TRUE<br> b. FALSE
    14·1 answer
  • What is the best way to show a complex data chart in word?
    6·1 answer
  • Which code must be included to use Turtle Graphics?
    14·2 answers
  • 3. The following is a dump of a UDP header in hexadecimal format. 0045DF000058FE20 a. What is the source port number? b. What is
    15·1 answer
  • An electronics company develops a line of augmented reality headsets for use in interactive 3d media applications using 5g mmwav
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!