how do you solve 3.2.8 Repeating Message in Code HS

How Do You Solve 3.2.8 Repeating Message In Code HS

Answers

Answer 1

The program is an illustration of loops.

Loops are used to perform iterative and repetitive operations.

The correct program where comments are used to explain each line is as follows:

public class MyProgram extends ConsoleProgram {

public void run()     {

//This prompts the user for the number of times to repeat the message

     echo(" ", readInt("Times to repeat: "));

  }

private void echo(String lineOne, String lineTwo, int numTimes)     {

//The following iteration is repeated numTimes times

for (int i = 0; i < numTimes; i++){

//This prints lineOne

System.out.println(lineOne);

//This prints lineTwo

System.out.println(lineTwo);

}

 

  }

}

Read more about similar programs at:

brainly.com/question/17972093


Related Questions

compare the four ways of regulating the internet​

Answers

Answer:

the four is all the same way that can harm people through the internet

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:

As an ________ ________ __________ , the mobile and multimedia Internet is altering our quality of life, our quality of health, the way we interact socially and more.

Answers

As an agent of change, the mobile and multimedia Internet is altering our quality of life, our quality of health, the way we interact socially and more.

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

Pls answer i will give 20 points

Answers

Answer:

Penicilium roqueforti

Which file types have exe and png as their extensions?

Answers

Answer:

PNG are for photos and exe are for programs

Answer:

exe are executable files or it could also be applications.

png are pictures or photos that you get from the internet when you use the save as option on your computer.

Explanation:

None.

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

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:

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:

If you use a new HTML5 input type (such as "range" or "number") on an older browser,
what input type will it default to?
none-- it will give you an error
O radio button
text
O checkbox

Answers

Explanation:

radio button is old html source code so yeah enjoy I'm coding in html so ggg

It is also known as "online store".​

Answers

Answer:

online shopping

Explanation:

E-commerce

Ecommerce is often used to refer to the sale of physical products online

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.

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:

Why is it important to select appropriate software?

Answers

Explanation:

because the software is the being practical for the computer programming into the software

Because it affects production quality and quantity and they cost a lot of money

 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

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

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

Helppppppppppppppppppp

Answers

1. a
2. e
3. c
4. b
5. d
i think this is right, i hope it helps :)

Which Operating System is used most often in households?

options:

WIndows


MAC OS X


Linux

Answers

Answer:

Windows

Explanation:

Windows are one of the most popular household os.

Windows because there are way more pc then Mac

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. :)

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.. . . .. .

A type of user interface that features on- screen objects, such a menus and icons, manipulated by a mouse.

options:

GUI (Graphical User Interface)


Sticky


Circuits


RAM

Answers

Explanation:

What want help with i just see answer there maybe if you want to know the meaning of Gui it is : A graphizal user interface (GUI) is a type of user interface through which users interact with electronic devices via visual indicator representations.

and next time please make yourself clear with your sentence no Offense

25 points select 3 options!!!!!!!!!!!!!!!!!!!!!!!!!
Some disadvantages of ethical codes are that _____.

!!!!!!!!!!Select 3 options!!!!!!!!!!!!!!

A. there is no legal authority to prosecute offenders

B. the code is broad enough to cover all issues

C. people can abuse intellectual property law

D. the ethical code can be changed at anytime

E. specific details are not covered in the code

Answers

Answer:

Some disadvantages of ethical codes are that _____.

Answers:

specific details are not covered in the code

there is no legal authority to prosecute offenders

people can abuse intellectual property law

Ex:

Got it right on my assignment.

Answer:Below

Explanation:

how do you open cosh

Answers

Answer:

Hit the cosine button on the calculator

Explanation:

your network settings prevent content from loading privately

Answers

Answer:

what what what what what what

Which protocol is responsible for transporting files between a client and a server?

HTTP
FTP
LLP
TCP

Answers

Answer:

FTP

Explanation:

FTP stands for File Transfer Protocol.

PLSS HELP ASAP ILL GIVE BRAINLIEST THANKS

Answers

Answer:

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

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

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.

Answers

Answer:

easyy

Explanation:10 smaple runs and 2

short note about light pens​

Answers

Answer: A light pen is a computer input device in the form of a light-sensitive wand used in conjunction with a computer's cathode-ray tube (CRT) display. It allows the user to point to displayed objects or draw on the screen in a similar way to a touchscreen but with greater positional accuracy.

Explanation:

Other Questions
A car covered a certain distance at a speed of 24 mph. While returning, the car covered the same distance at a speed of 16 mph. What was the average speed of the car for the entire journey? When considering whether or not to buy an extended warranty for a large purchase, what are some factors that you should consider?. Mikayla borrowed $ 40 from her mom . The function y = - 8x + 401 represents her outstanding balance y after x weekly payments, find the zero of the function. write each equation in standard form. 5/8x+3/4y= -1 what is 20/10 as a whole number Sarah practices the piano 1/3 hour in the morning, 5/6 hour in the afternoon, and 4/5 hour in the evening. Here at Dillard 6-12 the amount of new teacher went from 24 teachers to 30 teachers. What is the percent of change? You can reduce some important risk factors for heart disease bya. not________,b. eating foods low in saturated fats and___________,c. watching your______,andd. getting plenty of_________ If the sun had twice the mace how would that affect the gravitational force of the sun Select the correct answer.The image shows EKGs of a person with normal heart waves and of a person having tachycardia. Based on this image, what kind of conditionis tachycardia? Complete this sequence [20] [28] [35] [50] [V] 30 boys and 56 girls as a ratio *6. This is a list of ingredients for making a pear & almond crumble for 4 people.Ingredients for 4 people:80 g plain flour60 g ground almonds90 g soft brown sugar60 g butterg4 ripe pearsJessica wants to make a pear & almond crumble for 10 people.Here is a list of the amount of each ingredient Jessica has in her cupboard.250 g plain flour100 g ground almonds200g soft brown sugar150 g butter8 ripe pearsWork out which ingredients Jessica needs to buy more of.You must show all of your working. Jakin leaves a 15% tip each time he goes out to eat. If his bill was $48. How much tip should he leave? What are the coordinates for a A large container holds 5 gallons of water. It begins leaking at a constant rate. After 15 minutes, the container has 2 gallons of water left. Part 1 At what rate is the water leaking? Express your answer as a positive value. 1 The water is leaking at the rate of gal/min. 5 Part 2 out of 2 How many minutes will it take for the container to go from full to empty? The container will be empty after minutes. Aaliyah has a loyalty card good for a discount at her local hardware store. The item she wants to buy is priced at $39, before discount and tax. After the discount, and before tax, the price is $33.54. Find the percent discount. Read Jesus' words in Luke 12:15. Choose three things Jesus would consider to be important in life.friendship with Godservice for Godmaking moneynew life in Christcontrolling his own lifecollecting things(Bible) Geometry please help 30 points Solve the following equation fory.y+ 20 = x