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
zavuch27 [327]
3 years ago
12

Given a number n, for each integer i in the range from 1 to n inclusive, print one value per line as follows:

Computers and Technology
1 answer:
monitta3 years ago
3 0

The program is an illustration of loops and conditional statements

<h3>Loops</h3>

Loops are used to perform repetitive operations

<h3>Conditional statements</h3>

Conditional statements are statements that are used to make decisions, depending on their truth values

<h3>Python program</h3>

The program written in Python where comments are used to explain each line is as follows:

#This gets input for n

n = int(input())

#This iterates through n

for i in range(1,n+1):

   #If the current number is not a multiple of 3 and 5

   if not(i%3 == 0 or i%5==0):

       #This prints the number

       print(i,end="")

   else:

       #This prints "Fizz", if the current number is a multiple of 3

       if i%3 == 0:

           print("Fizz",end="")

       #This prints "Buzz", if the current number is a multiple of 5

       if i%5==0:

           print("Buzz",end="")

   #This prints a new line

   print()

Read more about loops and conditional statements at:

brainly.com/question/26098908

You might be interested in
How do mentors provide professional development opportunities?
Sholpan [36]

The answer is the second one.

Hope this helps! :)

3 0
3 years ago
Read 2 more answers
Which type of database program is Microsoft Access 2016?
nadya68 [22]

Answer:

O relational

Explanation:

If I'm wrong I'm so so sorry! But form my research it keeps saying its relational.

If I'm right please give me brainliest I really need it to level up so please help me!

If you don't know how to give brainliest there should be a crown underneath my answer you just have to click it.

Thank you and have a wonderful night,morning,afternoon/day! :D

6 0
3 years ago
Read 2 more answers
To add the word "confidential" to the background of a page, users would need to _____.
KengaRu [80]
I beleive you need to insert a watermark
3 0
3 years ago
Rafter type and Truss type?
docker41 [41]

Answer:

Trusses and rafters are both assembled ahead of being installed onto the roof. Trusses are assembled in a factory using pre-engineered structures and joints. ... Rafters contain two main outer beams which support the roof structure. On the other hand, trusses come with multiple beams which add more support.

As the trusses come with a web of triangles inside the main frame, they provide more support than the rafters.

Trusses and rafters are both assembled ahead of being installed onto the roof. Trusses are assembled in a factory using pre-engineered structures and joints. On the other hand, rafters are assembled at the construction site. As trusses are assembled in a factory, a lot of time can be saved.

When comparing the cost of rafters and trusses, the latter ones cost more. But when considering the labor cost of constructing the roof using other means, it is better to purchase the trusses even though the costs are a bit higher. This is because there is no need to assemble the structure again at the construction site as they have been already assembled at the factories. But as rafters have to be assembled at the construction site, they involve more labor costs.

Summary:

1. Though both rafters and trusses are triangles in shape, the trusses have more triangle webs inside the principle frame.

2. Trusses are assembled in a factory using pre-engineered structures and joints. On the other hand, rafters are assembled at the construction site.

3. When comparing the cost of rafters and trusses, the latter ones cost more. But when considering the labor cost of constructing the roof using other means, it is better to purchase the trusses even though the costs are a bit higher.

4. As rafters have to be assembled at the construction site, they involve more labor costs.

5. Rafters contain two main outer beams which support the roof structure. On the other hand, trusses come with multiple beams which add more support.

6. Trusses also add an aesthetic beauty to the roofs.

8 0
2 years ago
We love him, because he ."
Andre45 [30]
We love him, because he “is everything I need.” I’m kinda confused on the answer lemme know if you need help
7 0
2 years ago
Other questions:
  • Don is the superintendent of the county school system. What task might Don
    8·1 answer
  • Microsoft windows is the least used operating system true or false?
    15·2 answers
  • What kind of storage is an internet service that provides storage to computer users?
    12·1 answer
  • The vertical and horizontal scroll bars can be used to aid in navigation throughout the document. true or false
    7·2 answers
  • Select the correct answer from each drop-down menu.
    10·1 answer
  • Match the image to the view type in a presentation program. scroll bar tool bar status bar menu bar provides an array of buttons
    10·2 answers
  • Which of these is not a valid form<br>layout in Microsoft Access?​
    11·1 answer
  • Read two numbers from user input. Then, print the sum of those numbers. Hint - Copy/paste the following code, then just type cod
    9·1 answer
  • Question #5<br> How does the computer decide which path to follow in a selection control structure?
    12·1 answer
  • Which of these file types does not share info in a spreadsheet?
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!