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
IceJOKER [234]
2 years ago
8

Write a program that prints the following 45 pairs of numbers:

Computers and Technology
1 answer:
sattari [20]2 years ago
6 0

Answer:

  • Code is in JAVA language. As there is no user input the logic is straightforward.
  • Below is the code along with a detailed explanation of the logic.
  • The class name is Print main save as file as the main class.

Explanation:

Program:-

public class Main{

public static void main(String args[]){

/* There are two for loops...

* First for loop runs from i=1 to i=9

* Second for loop runs from j=1 to j=i.

*

*/

for(int i=1;i<=9;i++){

for(int j=1;j<=i;j++){ // j loop runs from j=1 to j=i

/*Prints I and j next to each other*/

System.out.println(i+""+j);

}//for loop of j ends here

}// for loop of I ends here

}

}

You might be interested in
How can you represent a graphic element in a wireframe?
rusak2 [61]

Answer:

The answer is "in the form of design, color and graphic".

Explanation:

The wireframe is also recognized as 'skeleton', it is a static, low-fidelity description of various layouts, which provides shapes to the component. It is indeed a visualization of even an interface using only basic shapes.

It is a 2D illustration of a site user interface, which primarily focuses on capacity planning and priority of information, features available, and role expectations like, storyboards which do usually not include design, color, or graphics.

3 0
3 years ago
Raw materials have two basic types what are the 2?
marissa [1.9K]
The answer Direct and inderect
8 0
2 years ago
Read 2 more answers
como la ciencia y tecnologia ayudan a reducir la contaminacion del aire que respiramos? Muestra algunos ejemplos
Llana [10]
  • Mediante la tecnología se han implementado el uso de medios de transporte como los "coches verdes" o eléctricos que contribuyen a disminuir la producción de  gases contaminantes atmosféricos.

A través de la ciencia y la biotecnología se ha avanzado en el campo de la purificación del aire algunas de las herramientas que actualmente se están utilizando son:

  • La biofiltraccion del aire que se realiza a través de macroporos de material filtrante por donde se filtran los compuestos orgánicos e inorgánicos atmosféricos. También es posible realizar la biodepuracion del aire con plantas purificantes y ornamentales.

  • El uso de las paredes arbóreas cubiertas de musgo ha permitido que en algunas ciudades como París y Berlín mejore la calidad del aire,ya que el musgo se caracteriza  por su gran capacidad para  filtrar contaminantes del aire como las partículas y los óxidos de nitrógeno ya que  los convierte en purificadores naturales ideales para el medio ambiente.

Lo anterior son algunos de los grandes avances que ha tenido la ciencia y la tecnología para lograr mejorar la calidad del aire y por consiguiente la calidad de vida de las personas.

Puedes encontrar mas información sobre este tema en el siguiente enlace:

brainly.com/question/1400149

4 0
2 years ago
The purchase and subsequent sale of a securities position in a customer account solely to generate commissions is____________.
Citrus2011 [14]

Answer:

Churning

Explanation:

Churning is termed as an act of a broker conducting immoderate trading in the account of client solely to generate commissions. It is an illegal and deceptive practice. It violates security laws. The purchase and subsequent sale of a securities that are little or insignificant to meet the investment goals of client can be the evidence of churning. Consequently it causes considerable losses in client's account or can produce a tax liability.

Churning occurs due to over trading by a broker to generate commissions by buying and selling stocks excessively on the behalf of investor. This often happens when broker has permissive authority over client's account.

5 0
3 years ago
Should i change my profile pic<br> dont delete
nignag [31]
On the one hand it looks pretty cool, on the other hand change is good
8 0
3 years ago
Read 2 more answers
Other questions:
  • When looking through the documentation for a specific class, you never actually see the source code for that class. Instead, you
    6·1 answer
  • Jason is creating a webpage on the basic parts of a camera. He has to use a mix of both images and content for the web page to h
    11·1 answer
  • While trying to solve a network issue, a technician made multiple changes to the current router configuration file. The changes
    7·1 answer
  • Marie uses a browser to visit a blog. What is the unique identifier of the blog?
    13·2 answers
  • Why did Hunter gatherers moved into the<br>America's?​
    8·1 answer
  • It is important to verify internet source because-------- choose that apply. A.the source should be written by real author. B.an
    6·2 answers
  • What are the factors that affect self-confidence?
    15·1 answer
  • This is your data.
    11·2 answers
  • B. What significant values have you learned while learning the tools and utensils?
    8·1 answer
  • 3. It is important to make certain that your employees are aware of the work ethic
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!