write a program using a for loop, to display number 20 to 10 in descending order

Answers

Answer 1

Answer:

public class MyProgram {

  public static void main(String[] args) {

     for (int i = 20; i >= 10; i--){

        System.out.println(i);

     }

  }

}

Explanation:

Since we are printing in descending order, we start with an initial value of 20, keep decrementing counter by 1 (the i-- part) until i reaches 20


Related Questions

In object-oriented programming, what is a class?

A design approach that divides well-defined tasks into modules, functions, or steps
A planning method that focuses on objects rather than functions
A system that categorizes the different types of actions and functions
A template with attributes and behaviors for an object

Answers

Object-oriented programming is the programming model in a computer that uses objects and data to organize the design. In OOP, class is a template that includes real values. Thus, option d is accurate.

What is OOP?

Object-oriented programming (OOP) is the approach to designing that uses objects instead of variables and functions. The programmers create codes in OOP that interacts and performs the function.

Programming languages like C⁺⁺, Python, and Java are object-oriented programs. The known object in OPP is called a class that contains the data that makes up the objects and methods.

Therefore, the class is the building block of OOP.

Learn more about OOP here:

https://brainly.com/question/26709198

#SPJ1


Refer to the chose administrator is attempting to install a P6 static route couttert to read the rette tached to outer 22 ster the state
czamand is een connectivity to the nature is still falling. What emotas been made in the static route configuration

Answers

Answer:

i do not know I just need points

Which function allows you to display the name of the month?
>>>import time

>>>aTime = time.locatime()

>>>time.__________("%B",aTime)

Sample Output:
'March'

Answers

Answer:

strftime

Explanation:

>>> import time

>>> aTime = time.localtime()

>>> time.strftime("%B",aTime)

'May'

BestMed Medical Supplies Corporation sells medical and surgical products
and equipment from more than 700 manufacturers to hospitals, health clinics,
and medical offices. The company employs 500 people at seven locations in
western and midwestern states, including account managers, customer service
and support representatives, and warehouse staff. Employees communicate by
traditional telephone voice services, email, instant messaging, and cell phones.
Management is inquiring about whether the company should adopt a system for
unified communications. What factors should be considered? What are the key
decisions that must be made in determining whether to adopt this technology?
Use the web, if necessary, to find out more about unified communications and
its costs.

Answers

Management  of the company should adopt a system for unified communications.

What is unified communications?

Unified Communications (UC) is a term that connote a kind of a phone system that uses or “unifies” a lot of communication methods within one or the same business.

Note the one's business can be able to communicates in a lot of ways such as  phone calls, video conferencing and as such, Best Med Medical Supplies Corporation  should be considered adopting a system for unified communications.

They should look into:

The level of productivityTotal costsCompatibility with their business model Productivity.

Learn more about communications from

https://brainly.com/question/26152499

#SPJ1

ANSWER QUICKLY!!

Kenny is designing a document for the employee motivation campaign at his company. He is using various elements of design and grouping them accordingly. Which principle of design is Kenny following in his document?

Answers

Answer: The answer is Proximity.

Explanation:

what gases are involved in the process of respiration​

Answers

Answer: (O(2)), nitric oxide (NO), and carbon dioxide (CO(2))

Explanation:

i will pay for this anyone please
PowerPoint
On the first slide, state your name and summarize the first scenario in terms of what you believe the problem to be and how the other person is feeling. Do not just restate what is written above, but interpret it based on your understanding of the situation.
On the second slide, describe in detail what your response will be to help the project manager in the first scenario.
On the third slide, list which employability skills you used to resolve the project manager’s problem. Explain why you believe these employability skills are important to achieving a successful resolution.
On the fourth slide, provide at least two reasons why you believe this particular situation would be difficult to resolve.
Use slides five through eight to repeat the first four steps, but for the second scenario.
On the ninth slide, state your partner’s name and present your partner’s feedback.
Word Document with the Following Sections
Your name
Summary of the Scenarios: Summarize the scenario as you interpret what you believe the problem to be and how the other person is feeling. Do not just restate what is written above, but interpret it based on your understanding of the situation.
Responses to Resolve the Situations: Describe in detail what your response will be to help the project manager.
Employability Skills Used to Resolve the Situations: List which employability skills you used to resolve the project manager’s problem. Explain why you believe these employability skills are important to achieving a successful resolution.
Why This Situation Is Difficult to Resolve: Provide at least two reasons why you believe this situation would be difficult to resolve.
Partner Comments: State your partner’s name. Include your partner’s feedback about your project.

Answers

This is something you would have to do yourself if this is a partner project and we don’t know you or your partners name using someone else’s would make it obvious that you didn’t do the work yourself. And the picture is blank there’s no further info on what you need done.

What is a major advantage of medical simulators?


The procedures can be practiced with no risk to a patient.

The games have replaced more time-intensive training in hospitals.

The programs deliver more realistic training than actual surgeries.

The simulators are inexpensive and easy to design.

Answers

Answer:

The procedures can be practiced with no risk to a patient.

Explanation:

ANSWER QUICKLY!!!

Mr. Harris runs the organization You and Your Child, which helps to build life skills in teenagers and prepare them for the future. He approached
Katsumi to develop a website that will enhance the good work he is doing. The client and the development team went through several rounds of
sessions before they finalized the requirements. Katsumi has partially completed the design document, and she is worried that Mr. Harris might
change certain requirements midway through the project. What should Katsumi do in this situation?

Answers

The thing that Katsumi should do in this situation is to option A in the image attached.

Why choose option A?

Note that Design documentation is said to be a composition of documents and resources that is said to cover all areas of one's product design.

Option A is correct because  in the above scenario, it is usually mostly inconclusive and as such, Katsumi  should do nothing.

Learn more about design document from

https://brainly.com/question/27250066

#SPJ1

ANSWER QUICKLY!!!

Ed has taken up a freelancing project to build a website. The website should be easy to navigate and lighter to load. He has brilliant HTML and
CSS coding skills. However, he doesn't have enough time to build the website from scratch. What can he do to create a relatively light website in
a short span of time?

Answers

In the above scenario, he create a relatively light website in a short span of time by using option A.

What is a website?

A website is known to be a composition of web pages and similar or linked content that is known by a common domain name and it is one that is often published on web server.

Note that In the above scenario, he create a relatively light website in a short span of time by using option A as it is the right choice to make.

Learn more about website from

https://brainly.com/question/13171394

#SPJ1

In this area, you want to focus on which hardware, application, personnel, or department(s) will be impacted by the security policy. For instance, what type of personal devices are allowed on the network and when? Must the personnel receive formal approval before using such devices on the network? What kind of activity is allowed on a personal device? Who is responsible for granting the permission to use a device on the network?

Answers

The type of personal devices that are allowed on the network are:

1. Laptops

2. Smartphones

3. Tablets

What devices do BYOD have?

BYOD is known to be Personal devices such as smartphones that organizations often gives permission for employees that are working from home to be able to have a flexible schedule and others.

Therefore, The type of personal devices that are allowed on the network are, Laptops, Smartphones, tablets.

Learn more about personal device here,

https://brainly.com/question/12253360

#SPJ1

Maria set a SMART goal for her chocolate business: “Increase online sales by 50% by the end of 6 months”. What would be a good KPI for her to use to evaluate if she is reaching this goal?

0 / 1 point

Answers

Key  Performance Indicators helps the maria to set the goals as it qualify and measure the performance of her chocolate business. Revenue growth, Profit margin and Customer satisfaction are the factors from which Maria can evaluate the growth of her business.

How is KPI measured?

KPIs are performance indicators which are used to analyze a company's effectiveness. KPIs might be either quantitative or qualitative.

Indicators like sales revenue per employee, number of customers handled by each call center representative, and revenue are examples of quantitative KPIs.

Thus,  Revenue growth, Profit margin and Customer satisfaction are the factors

For more information about Key  Performance Indicator, click here:

https://brainly.com/question/13278475

#SPJ1

Help me pleaseeeeeeeee

Answers

Answer:

2. I see that they uses space, and form.

3. Maybe it a death note that you could cut stuff with scissors and knife and you'll grasp if you got stab and it sharp.

4. To show that scissors could cut,stab and do many more other things.

Rather than entering an IP address into our browser, we use a text-based address known as a(n

Answers

Answer:

url

Explanation:

Question 4 of 10
To find an image's____
count the number of pixels across each inch of the image.
A. binary value
B. bitmap
C. pixel density
D. RGB value

Answers

C. pixel density ii belive

During a system board replacement, a new TPM is installed. What is the next best step to take?

Answers

The step to install TPM involves the connection of the chip to the connector and snapping of the bolt in its place by pressing down the plastic bolt.

What is a TPM?

A TPM is given as the Trusted Platform Module. It is a computer chip that enables the storage of the artifacts at a safe location for the authentication of the system.

In the system board replacement, the TPM installation is followed by the insertion of the TPM chip in the TPM connector, and pressing down the security rivet in the form of the plastic bolt to make the bolt snap in its place.

Learn more about TPM, here:

https://brainly.com/question/15202666

#SPJ1

What is one way that Accenture can ensure that the Cloud is secure for a client?

Answers

One of the ways through which Accenture can ensure that the Cloud is secure for a client is by utilizing special software to analyze all data transaction.

What is a cloud?

In Computer technology, a cloud can be defined as the elastic leasing of pooled computer resources (physical hardware) through virtualization and over the Internet, so as to enable the storage of files and documents virtually.

In this context, a way through which Accenture can ensure that the Cloud is secure for a client is by utilizing special software to analyze all data transaction.

Read more on cloud computing here: https://brainly.com/question/19057393

#SPJ1

Connect research concepts to their definitions

Answers

Answer Research is defined as the creation of new knowledge and/or the use of existing knowledge in a new and creative way so as to generate new concepts, methodologies and understandings

A method for breaking a program down into smaller parts

Answers

Answer:

Top Down Design

A method for breaking a program down into smaller parts

Explanation:

Answer:

Top Down Design

A method for breaking a program down into smaller parts

Explanation:

A computer has 32-bit virtual addresses and 4-KB pages. The program and data together fit in the lowest page (0–4095) The stack fits in the highest page.
1.How many entries are needed in the page table if traditional (one-level) paging is used?
2.How many page table entries are needed for two-level paging, with 10 bits in each part?

Answers

The numbers of entries needed is that:

For a one-level page table, one needs  232/212 or 1M pages needed.  Note that the page table must have 1M entries.

Can I run a 32-bit virtual machine using a 64-bit OS?

Others are:

For two-level paging, the main page table must have 1K entries, each have to points to a second page table. Note that only two of these are to be used.

Therefore, in full, only three page table entries are said to be needed, where one in the top-level table and another in each of the lower-level tables.

Note that one can install a 32-bit virtual machine in 64-bit Windows 10 system as it is very possible as long as the processor aids Virtualization Technology (VT).

Learn more about computer from

https://brainly.com/question/24540334

#SPJ1

a computer virus cannot be distributed by​

Answers

Answer:

Similarly, in the same way that viruses cannot reproduce without a host cell, computer viruses cannot reproduce and spread without programming such as a file or document.

Explanation:

This program will output a right triangle based on user specified height triangle_height and symbol triangle_char.
(1) The given program outputs a fixed-height triangle using a * character. Modify the given program to output a right triangle that instead
uses the user-specified triangle_char character. (1 pt)(2) Modify the program to use a loop to output a right triangle of height triangle_ height. The first line will have one user-specified character.
such as % or *. Each subsequent line will have one additional user-specified character until the number in the triangle's base reaches
triangle_height. Output a space after each user-specified character, including a line's last user-specified character. (2 pts)

Answers

The program illustrates the use of loops;

Loops are program statements that are used to perform repetitions

The program in Python

The python program where comments are used to explain each line of the program is as follows:

#This gets input for the triangle height

triangle_height = int(input())

#This gets input for the triangle character

triangle_char = input()

#This iterates through the triangle height

for i in range(triangle_height+1):

   #This iterates through each row

   for i in range(0,i):

       #This prints each character

       print(triangle_char,end='')

   #This prints a new line

   print()

Read more about python programs at:

https://brainly.com/question/26497128

#SPJ1

what are the benefits and drawbacks of a desktop utilising virtualisation and a server?

Answers

•Cons of Virtualization. High Initial Investment. Data Can be at Risk. Quick Scalability is a Challenge. Performance Witnesses a Dip.

•Pros of Virtualization. Uses Hardware Efficiently. Available at all Times. Recovery is Easy. Quick and Easy Setup. Cloud Migration is Easier.

Mark as brainlest answer!!!!!

ANSWER QUICKLY!!!

What is an advantage of digital portfolios?

Answers

Easy to carry or utilize

Answer:

transmit

Explanation:

List 5 tasks that can be performed by a computer

Answers

Answer:

Input or inserting data and instructions.Processing.Output or retrieving data or information.Storing data or information/file management.Controlling of devices and functions.

Consumers affect which goods and services are produced because they _____.

name the goods and services produced
choose which goods and services to buy
select the capital goods used for production

Answers

Answer:

Choice B, "choose which goods and services to buy"

Explanation:

Consumers choose which goods and services to buy. Companies only want to provide goods and services they know will be bought. Therefore, consumers affect which goods and services are produced because they choose which goods and services to buy.

What is the regular expression that generates the language L = {w^n x v^m, n > 0, m > 1}

Answers

The regular expression corresponding to the language L(X) ∪ L(Y) where L(X+Y) = L(X) ∪ L(Y) is X+Y.

What is regular expression?

A regular expression is a pattern that the regular expression engine attempts to match in input text. A pattern consists of one or more character literals, operators, or constructs.

The most basic regular expression consists of a single literal character, such as A. It matches the first occurrence of that character in the string. If the string is Jack is a boy, it matches the A after the J. This regex can match the second a too.

Learn more about regular expression here,

https://brainly.com/question/14186204

#SPJ1

Write a question that the database will understand. Which records do not contain "sold"?
a. <>sold
b. /=sold
c. is sold i
d. >=sold

Answers

Answer:

b

Explanation:

b

does C supports STRINGS as a data type?

Answers

Answer:

C language does not support strings as a data type. A string is actually one-dimensional array of characters in C language. These are often used to create meaningful and readable programs.

Explanation:

In Scratch, what option in the Sounds tab would you select if you wanted to use a sound file already on your local computer?
Choose a Sound
Record
Surprise
Upload

Answers

Answer: is Upload

Hope this helps! :)

Answer:

upload

Explanation:

Other Questions
Aline has a slope of 6 and includes the points (-9, 0) and (-8, a). What is the value of a?SubmitPlease help 4. Make a table and graph the function. (1 point)y = 4x + 2 Simplify 85.84O A. 820O B. 169O C. 89O D. 649 Simplify this expression (15+8d)(-5)-24d+dSolve step by step Mr. Ramirez demonstrates that objects can exert forces on each other even when the objectsare not touching. He removes two long pleces of clear plastic tape from a tape dispenser. Heholds a piece of tape in each hand so that they are hanging down. As he moves his hands closer together, the pieces of tape repel each other. His students then plan an investigation to study the forces exerted by the pieces of tape. a. Identify two factors that may affect the forces exerted by the pieces of tape. Explain yourreasoning. b. Describe how the effect of one of the factors you identified in part (a) could be tested. Be sure to include a description of how the effect would be measured and how the collected data would be analyzed. Question 2Please read the following sentence.Once Jane lifted her pen and made a start, writing the essay became easy.If we change the start of the sentence to:Writing the essay became easy..........What will the ending be? A: after starting.B: after lifting her pen.C: once Jane lifted her pen and made a start. D: once she lifted her pen and made a start. E: None of these.i PLSSS HELP IF YOU TURLY KNOW THISS Write a story with at least 12 words: vast, mischievous, innocent, magnificent, grasp, snatch, wasp, mole, tortoise, boa constrictor, groove, wrist, stall, veil, car boot, lawnmower, gnome, pursuit, stung. Can anyone help me with this quick question please, ASAP, Thank You! Find the mean of the data: 125, 15, 30, 110, 70 If the ball reaches the ground in 8 seconds and the velocity of the ball before it hits the ground is 78.4. What is its acceleration?also please explain how if you can The Railway TrainEmily Dickinson, 1896I like to see it lap the miles,And lick the valleys up,And stop to feed itself at tanks;And then, prodigious, stepAround a pile of mountains,And, supercilious, peerIn shanties by the sides of roads;And then a quarry pareTo fit its sides, and crawl between,Complaining all the whileIn horrid, hooting stanza;Then chase itself down hillAnd neigh like Boanerges1;Then, punctual as a star,Stopdocile and omnipotentAt its own stable door.1The name of a thoroughbred race horse famous in North America in the late 19th centuryWhich of the following describes a theme in this poem that was also important during the late 19th century? Change is destructive to nature. Modern machines bring many changes. Nature can be found in everything. Simplicity is the best way of life. If h = 3.5u, what is the value of h when u = 17?Give any decimal answers to 1 d.p. Complete the standard form equation representing the quadratic relationship displayed above, where a, b, and c are constants. exponential function question Anybody want to help with math? Pls hurry, Ill give brainiest and everything.Find the missing number in the ratio table below.11 22 33 449 18 27 ?A: 38 B: 36 C: 35 D: 37 Which of the following could be best observed by looking at tombstones?a.erosionc.weatheringb.acid raind.sediment What is the answer?? Drag each tile to the correct box. Look at the questions. What is the most appropriate time to ask each question about a text? after before during What would a good summary of this text look like: What do I already know about this topic? How can I put what I am reading in my own words Reset: Next Who was the only main character to not appear in the pilot?.