Unit 2: Lesson 6 - Coding Activity 1
Write code which takes inputs from the user for the number of sides (int) and side length (double), then creates a regular polygon with these characteristics. The program should then print a sentence with the name of the shape and the area and perimeter as shown in the sample run. You should use the appropriate RegularPolygon methods to obtain the perimeter and area of the shape rather than attempting to calculate these values yourself.

Sample run:

Enter number of sides:
> 5
Enter side length:
> 3.5
A regular pentagon with side length 3.5 has perimeter 17.5 and area 21.075848157214846
Hint: You can approach this problem by saving the int and double as variables, and then creating the RegularPolygon, or you can create the polygon and use methods to set the values of the sides and sidelength.

Unit 2: Lesson 6 - Coding Activity 1Write Code Which Takes Inputs From The User For The Number Of Sides

Answers

Answer 1

Answer:

easyy

Explanation:10 smaple runs and 2


Related Questions

Question 14 of 20
"Businesses around the world all need access to the same data, so there
needs to be one type of information system that is designed to offer it." Why
is this statement false?
O A. This statement is false because there already is only one type of
information system.
B. This statement is false because the data that the Internet
produces is never the same.
1
O C. This statement is false because different businesses have
different information needs.
O D. This statement is in fact correct; this is where the field of
information technology is heading.
SUBMIT

Answers

Answer:

This statement is false because there already is only one type of

information system.

 drag the tiles to the correct boxes to complete pairs match the graphic design tool to its purpose/definition

Answers

Answer:

1, layers

2. lasso

3.Drawing

4. magic wand

Explanation:

trust

write the importance of software In computer ​

Answers

Answer:

Microsoft word, Excel, Access, Power point, Microsoft windows...........

Explanation:

The motherboard is the computer's main circuit board. This board holds the CPU, memory, connectors for the hard drive.

options:
True
False

Answers

True it is the main part of a computer
this is true i believe.. . . .. .

b. Differentiate Operation System from other software. give me 4-5 sentences pls.

Answers

Answer:

An operating system or OS is system software that manages computer hardware, software resources, and provides common services for computer programs. All operating systems are system software. Every desktop computer, tablet, and smartphone includes an operating system that provides basic functionality for the device while on the other hand The System software is a type of computer program that is designed to run a computer’s hardware and application programs it controls a computer’s internal functioning, chiefly through an operating system. It also controls peripherals devices such as monitors, printers, and storage devices.

Explanation:

write a q basic program to find the sum of all the even numbers from 1 to 50​

Answers

Answer:

CLS

M=2

SUM=0

DO WHILE M<=50

SUM=SUM+M

M=M+2

LOOP

PRINT " The sum of all even numbers between 1 and 50 is"; sum

what actions can be performed via voice commands using 2022 sentra’s siri® eyes free?

Answers

New mobile cars produce nowadays often have new features that follows it. The actions that can be performed via voice commands using 2021 Sentra's Siri® Eyes Free are;

Send and receive text messages

Make and receive calls

Select and play music

Siri® Eyes Free command can be used to play music, report on the news, show  movies, play games, and give us navigation from one place to the other.

It ha been made available in some selected cars and it often use one's voice to control features of your iPhone without viewing or touching the phone.

Learn more from

https://brainly.com/question/13429053

Digital photography occurred in what age?

Answers

Answer:

The history of digital photography as we know it began in the 1950s. In 1951, the first digital signals were saved to magnetic tape via the first video tape recorder. Six years later, in 1957, the first digital image was produced through a computer by Russell Kirsch.

Dom is a software developer who likes to tweak his computer's OS to make it work the way he wants it to. The OS he is most likely to use is _____.

A. Mac
B. Linux
C. MS-DOS
D. Windows

Answers

Answer:

Linux

Explanation:

Linux-based operating systems are open-source, and open-source software can be modified. Mac, MS-DOS, and Windows are all closed-source means we can't see the source code hence we can't modify it.

I hope this helps <3

suggest any complete anime......?​

Answers

Plastic love and maybe your lie in April?

Activity Sheet 2
A.Illustrate how to create the object below using draw and modify commands.​

Answers

Answer:

Vjfxfffccvvvvvv

Explanation:

Hgvjhgxxgyjjbvccjkn Hugh bună vvvvhg un www buukbbchfcvbvc. Hggvhhvbhchgx

Which of the following uses the proper syntax for creating an HTML comment?
a.
b. Home page for my personal website
c. // Home page for my personal website
d.

Answers

Answer:

c

Explanation:

please help me I have 5 mins ​

Answers

Answer:

Question 3 is c. (==). Question 2 cut off.

Explanation:

I can't read the full thing, so please comment here the full question for number 2, I'm waiting for your response.

Answer: what he said is true that's what i was going to say.

Explanation:

the term __________ refers to the expression that defines the quantity to be maximized or minimized in a linear programming model.

Answers

The answer is: objective function.

the term “objective function” refers to the expression that defines the quantity to be maximized or minimized in a linear programming model.

the term objective function refers to the expression that defines the quantity to be maximized or minimized in a linear programming model.

What is objective function?

The objective function is a mathematical equation that describes the target production output that corresponds to profit maximization in relation to production.

It then uses the correlation of variables to calculate the final outcome value. Based on a collection of constraints and the relationship between one or more decision variables, an objective function attempts to maximize profits or minimize losses.

Therefore, In a linear programming model, the term objective function refers to the expression that defines the quantity to be maximized or minimized.

Learn more about the objective function, refer to:

https://brainly.com/question/29185392

#SPJ5

HELP 20 points THIS IS ON EDGE IF YOU DON'T KNOW THE ANSWER DON'T RESPOND
Directions
In this assignment, you'll use a word processor to create a newsletter.

Choose from one of the following topics for your newsletter:

Science project
Science report
State report
Country report
Biography
Your newsletter should meet these requirements:

Fill one page.
Include the following:
two or three columns
a title
at least three graphics, but not more than six
When you've finished creating your newsletter, remember to spell check and proofread. Then save your newsletter and upload it.

Question # 1
File Upload
Submit your newsletter that includes the following:

two or three columns
a title
at least three graphics, but not more than six

Answers

Column One: Who was Henry Ford?

            Henry Ford was the founder of Ford Motor Company and also the mass producer of the automobile. Henry Ford was born in 1863. At the age of 16, he worked as a machinist apprentice. Later, Henry began to work the family farm while still working on creating steam engines. Henry had a big interest in steam engines, which would later contribute to him building his first working automobile.

Column Two: How did Henry Ford contribute to our society?

           After marrying in 1888, Ford was hired to work for Edison Illuminating Company. His position was an engineer, and Ford began to accelerate his position in the company quickly. After a while, Ford created his first operating vehicle. This was called the "Quadricycle." Ford wanted to improve on his models, so he founded the Company Ford with others. Ford then began to develop methods of mass-producing automobiles to sell to the public. After success in business, he bought the whole company and owned it all by himself. Ford began to mass-produce automobiles. It is said that " The mass production techniques Henry Ford championed eventually allowed Ford Motor Company to turn out one Model T every 24 seconds." Ford passed away in 1945. He decided to give ownership to his son Edsel Ford before he died, but Edsel sadly died before Henry Ford. The Ford company's ownership was given to Ford's grandson, Henry Ford II.

Please re-word so it isn't plagerized

How Powerpoint is useful in education aspect?

Answers

Answer:

(Hope this helps can I pls have brainlist (crown)☺️)

Explanation:

PowerPoint may be a useful tool in the classroom for presenting content and encouraging student learning. PowerPoint may be used to present graphics that would be difficult to bring to class otherwise. PowerPoint may be a useful tool in the classroom for presenting content and encouraging student learning.

It improves learning by giving pupils a greater comprehension of the subject and inspiring them. It meant that technology-based instruction had a considerable favourable impact on students' grades. Analyses revealed that the experimental group students outperformed the control group.

Que compone una maquina Rube Goldberg (operadores mecánicos- maquinas simples – mecanismos)

Answers

Answer:

dominoes, fans, PVC pipe, magnets, duct tape, marbles, cups or bowls, miniature toy cars, paper towel tubes, string.

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

dominó, abanicos, tubos de PVC, imanes, cinta adhesiva, canicas, tazas o cuencos, carros de juguete en miniatura, tubos de toallas de papel, cuerdas.

Explanation:

10 computer and operating systems errors​

Answers

Answer:

what is

Explanation:

Answer:System errors are caused by malfunctioning hardware components, corrupted operating system modules, etc. These are caused by corrupted or malfunctioning system files or software executables. Most runtime errors affect the application that caused it to shut down.

Explanation:

suggest me anime genre : adventure ecchi​

Answers

HUMAGUSHIE that’s is the genre of ADVENTURE ECCHI

PLSS HELP ASAP ILL GIVE BRAINLIEST THANKS

Answers

Answer:

span > : A generic container that can be used for styling specific portions of text.

A programmer wants to determine whether a score is within 10 points of a given target. For example, if the target is 50, then the scores 40, 44, 50, 58, and 60 are all within 10 points of the target, while 38 and 61 are not.

Which of the following Boolean expressions will evaluate to true if and only if score is within 10 points of target ?

Answers

Answer:

(target - 10 ≤ score) AND (score ≤ target + 10)

Explanation:

(target - 10 ≤ score) AND (score ≤ target + 10).

What are Boolean expression?

A logical assertion that can only be TRUE or FALSE is known as a Boolean expression. As long as both sides of the expression have the same fundamental data type, boolean expressions can compare data of any kind.

Oracle OLAP evaluates this expression by comparing each value of the variable actual to the fixed value 20,000.

Unless parentheses indicate a different evaluation order, operators with equal priorities are evaluated from left to right. When the truth value has been determined, the evaluation is stopped.

Therefore, (target - 10 ≤ score) AND (score ≤ target + 10).

To learn more about Boolean expressions, refer to the link:

https://brainly.com/question/13265286

#SPJ6

If you clean your camera’s lens incorrectly, what might you damage?

Group of answers:

1. the aperture port
2. the outer coating
3. the inner coating
4. the battery port

Answers

Answer:

2. the outer coating

Answer:

Its number 2 the outer coating

Explanation:

Your computer has a software problem. Which of the following will NOT help you fix your 3 issue?

A- remove all media from drives
B- run anti-virus software
C- reinstall the operating system
D- install pirated software ​

Answers

Answer:

D- install pirated software ​

Explanation:

Installing pirated software (depending on where you get it from) will most likely cause more harm than help.

Which one is called the Information Super Highway? a. E-mail b. Mobile phone c. Internet d. Land phone

class 6 ​

Answers

Answer:

c

Explanation:

Answer C
Explanation:

how do you open cosh

Answers

Answer:

Hit the cosine button on the calculator

Explanation:

Memory containing hardwired instructions that the computer uses when it boots up, before the system loads. In PCs the instructions are read from a small program in the read only memory, called the Bios.

options:

RAM


ROM


Processing


Flash drive

Answers

Answer:

Rom

Explanation:

ROM is memory containing hardwired instructions that the computer uses when it boots up, before the system software loads

Can anyone lend me a computer?

Answers

Answer: No

Explanation:

Answer:

no

Explanation:

A collection of programs or tools that give cybercriminals complete control over a computer or a network of Internet-connected devices.

Answers

Answer:

Acunetix. Netsparker. Intruder. Nmap. Metasploit. Aircrack-Ng. Wireshark.

A lot of these software are used in Kali Linux. I hope it helped. :)

A two-dimensional array of ints with 4 rows, has been created and assigned to a2d. Write an expression whose value is the total number of ints that could be stored in the entire array.

Answers

Arrays are used to represent data in rows and columns

The expression that represents the number of int the array can store is 4c

From the question, we have:

The number of rows is given as: 4The number of columns is unknown; assume the number of columns to be c.

Also from the question, we understand that the array is of integer type.

So, the number (n) of int the array can store is the product of the rows and the columns

i.e.

[tex]\mathbf{n = Rows \times Column}[/tex]

So, we have:

[tex]\mathbf{n = 4\times c}[/tex]

Multiply

[tex]\mathbf{n = 4c}[/tex]

Hence, the expression that represents the number of int the array can store is 4c

Read more about arrays at:

https://brainly.com/question/14664712

What areas does ABET provide accreditation?
students
programs
institutions
teaching staff
industries

Answers

It is a form of quality assurance for programs in the areas of applied and natural science, computing, engineering, and engineering technology. Our accreditation is recognized globally as evidence that a program meets the standards set by its technical profession.

"We are a nonprofit, non-governmental agency that accredits programs in applied and natural science, computing, engineering and engineering technology." - ABET

Other Questions
The Treaty of Tordesillas split South America between Spain and Portugal.Portuguese influence led to the modern state of _ answer please!!!!!!!!!!!!!!!!! The following statements about medical malpractice are true, except _______________. a) Medical malpractice is intended to assure quality of healthcare services. b) Medical malpractice as a body of law is unique to the United States. c) Medical malpractice law is the same in every state. d) Medical malpractice may lead to defensive medicine, increased costs, and shortages in professions such as obstetrics. 17. How many books ________ you have? *A. doesB. doC. isD. are18. Some people _______ that he is honest. *A. sayB. saysC. are sayD. saying19. ________ she want to go there? *A. IsB. isntC. DoD. Does20. You __________ want to be there. *A. do notB. does notC. is notD. are not if you are friendly _______ The student council at Greenwood High School is making T-shirts to sell for a fundraiser, at a price of $19 apiece. The costs, meanwhile, are $8 per shirt, plus a setup fee of $88. Selling a certain number of shirts will allow the student council to cover their costs. What will the costs be? How many shirts must be sold? What is your idea of failure? Determine the Domain and Range. Then decide if the relation is a function or not. some lines about swadeshi movement Which of the tests would involve a chemical change in the mineral? The most common language family is __________.A.Afro-AsiaticB.Nilo-SaharanC.Sino-TibetanD.Indo-EuropeanPlease select the best answer from the choices provided The protein _________ has been implicated in regulating the shape of some bacterial cells; it is expressed in rod-shaped and helical bacteria. It resembles __________in structure. CreS, actin MreB, tubulin ParM, keratin CreS, tubulin MreB, actin Any hot topic online promo codes??? Juror#3 is in the image. Jessica bought a soft drink for 4 dollars and 5 candy bars. She spent a total of 19 dollars. How much did each candy bar cost ? Plz help me! I dont get it What happens when white light passes through a blue then a yellow filter Answer quick what does amo a mis papas mean? help me out pleaseeee Spirit of Australia, a hydroplane boat, made speed records by traveling 239 miles in 0.75 hours (45 minutes). What is its record- breaking speed?