Answer:
persuasive
Explanation:
Edhesive unit 2 lesson 5 coding activity 1 Write code which creates three regular polygons with 11, 14 and 19 sides respectively. All side lengths should be 1.0. The code should then print the three shapes, one on each line, in the order given (i.E. The one with 11 sides first and the one with 19 sides last). Sample run: regular hendecagon with side length 1.0 regular tetrakaidecagon with side length 1.0 regular enneadecagon with side length 1.0
Answer:
public class Polygon {
private String name;
private int sides;
private double sideLength;
public Polygon(String name, int sides, double sideLength) {
if (sideLength <= 0) throw new IllegalArgumentException("Length cannot be zero or negative.");
if (sides <= 0) throw new IllegalArgumentException("Sides cannot be zero or negative.");
this.name = name;
this.sides = sides;
this.sideLength = sideLength;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public double getSideLength() {
return sideLength;
}
public void setSideLength(double sideLength) {
if (sideLength <= 0) throw new IllegalArgumentException("Length cannot be zero or negative.");
this.sideLength = sideLength;
}
public int getSides() {
return sides;
}
public void setSides(int sides) {
this.sides = sides;
}
(use the at sign here)Override
public String toString() {
return "regular " + name + " with side length " + String.format("%.1f", sideLength);
}
}
public class TestPolygon {
public static void main(String[] args) {
Polygon sides11 = new Polygon("hendecagon", 11, 1);
Polygon sides14 = new Polygon("tetrakaidecagon", 14, 1);
Polygon sides19 = new Polygon("enneadecagon", 19, 1);
System. out. println(sides11);
System. out. println(sides14);
System. out. println(sides19);
}
}
Explanation:
This java source code defines a class that creates a regular polygon based on the number of sides given to it.
Below is a screenshot of the program code and output.
(This is for photography segment exam btw)
Who created the first known photograph?
A. George Eastman
B. Ansel Adams
C. Joseph Niepce
D. Louis Daguerre
Answer:
C. Joseph Niepce
Explanation:
What is the output?
class car:
model = "
age = 20
myCar = car()
myCar.age= myCarage + 10
print(myCarage)
Output:
Answer:
Following are the modified code to this question:
class car:#defining a class car
model = ""#defining a class
age = 20#defining an integer variable that hold a value
myCar = car()#creating reference of class
myCar.age= myCar.age+ 10#Use reference to add value in age variable
print(myCar.age)#print age value
Output:
30
Explanation:
In the above code class care is defined, inside the car a string variable "model", and an integer variable "age" is defined that hold a value, in the next step, class reference myCar is defined, that used to add value in age variable an at the last we use print method to print age variable value.
Please please help what kind of device. is this
Answer:
uuuummmmm im pretty sure that is some type of tablet
Explanation:
sorry im not much help.........
Answer:
It's a Hard drive. It's on your pc
Explanation:
Sending the same messages to a large number of users is called
Answer:
Can you give me the options
Which line of code will cause the loop to execute exactly one time?
for b in range(12, 12):
for b in range(12, 13):
for b in range(13, 13):
for b in range():
WILL GIVE BRAINLIEST! The command simplify is used if you only want the first two digits of a decimal to appear in the interpreter.
true
false
Answer:
falsee?
Explanation:
Answer:
Yes its false i believe
Explanation:
Dora has inserted a text box into a Word document that she is formatting. Which strategy will not format text boxes? Create a link between two text boxes. Set the height and width of the text box. Add background images to the text box. Link the text box to another document.
Answer:
D. Link the text box to another document.
Explanation:
A text box is an object that you may add to your page that allows you to place and enter text wherever in it. The correct option is D.
What is a text box?A text box is an object that you may add to your page that allows you to place and enter text wherever in it. Content boxes may be handy for attracting attention to a certain text and also for moving text about in your document.
Dora has inserted a text box into a Word document that she is formatting. Therefore, the strategy that will not format text boxes is strategy will not format text boxes.
Hence, the correct option is D.
Learn more about Text Box:
https://brainly.com/question/13812028
#SPJ2
Your friend told you that your favorite celebrity couple split. What is the best media form to use?
a
Wiki
b
Social Network
c
Infotainment site
d
Forum
Answer:
b
Explanation:
I think social network is the first source of every update of reality even wiki gets info from social network
Answer:a)wiki
kalo salah maaf ya
Which of the following is an example of data an Earth-observing satellite would collect?
studying ocean and land changes
monitoring the movement of ships
tracking signals between different points on Earth
studying weather patterns
Answer:
A
Explanation:
Hopefully this helps
With _________, users will receive recommendations for items liked by similar users.
Answer:
Collaborative filtering
Explanation:
Collaborative filtering is an algorithms family in which there are various ways to determine the same users or items also there are various ways to determine the rating depending upon the same users rating
Therefore as per the given situation, the above is the answer
Hence, the same is to be considered
How many bit make a byte .
Answer:
It is easy .8 bits.You have to note this
Answer: 8
1 byte = 8 bit
this is very simple i just need someone to type out this for me
Answer:
#27
2i , -2i, i, -i i^2 = -1
1(x - 2i)(x + 2i) 1(x-i)(x+i)
x^2 +2x-2x -4.2i x^2 -xi-xi -i
(x^2 + 4) x^4 + 1
x^2 +x^2 +11x
x^4 +5x^2 +4
+4+2+2+-1
*This was not simple for me
The image below shows an encoding for a black and white pixel image. The first two
bytes of the data (circled in red) are used to encode the width and height of the
image. What is the best term for this type of "data about the data"? Explain why it is
necessary to include this data in the encoding.
Answer:
where is the image i need the image
Explanation: