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
JulsSmile [24]
3 years ago
15

10.13 LAB 10C: Output range with increment of 5 Write a program whose input is two integers. Output the first integer and subseq

uent increments of 5 as long as the value is less than or equal to the second integer. You may prompt for the two integers as you wish; the prompt will not be included in the grading. Ex: If the input is:
Computers and Technology
1 answer:
FromTheMoon [43]3 years ago
6 0

Answer:

In Python:

num1 = int(input("Num 1: "))

num2 = int(input("Num 2: "))

big = num2; small = num1

if num1 > num2:

   big = num1; small = num2

   

for nms in range(small,big+1,5):

   print(nms,end = " ")

Explanation:

This prompt the user for two numbers

<em>num1 = int(input("Num 1: "))</em>

<em>num2 = int(input("Num 2: "</em>))

This initializes the biggest of the 2 to num1 and the smallest to num2

<em>big = num2; small = num1</em>

<em>If num1 is bigger than num2, big and small are swapped</em>

<em>if num1 > num2:</em>

<em>    big = num1; small = num2</em>

This iterates from the small to big number with an increment of 5

for nms in range(small,big+1,5):

This prints each number

   print(nms,end = " ")

You might be interested in
What is an audit trial
Nastasia [14]

Hi there!

A audit trial is a report of changes that have been obtained to a file or some kind of database.

Hope this helped!~

7 0
3 years ago
One of the most notable impacts of IT on business is improved
Igoryamba

One of the most notable impacts of IT on business is improved efficiency  of security communication.

<h3>What is security communication?</h3>

Security Communication Systems are said to be a vital aspect or part of works as well as in security mitigation measure.

The use of security communication in any organization is known to be the use of security tools to be able to keep the organization safe from any form of attack.

Note that One of the most notable impacts of IT on business is improved efficiency  of security communication as it boast security of data.

Learn more about security communication  from

brainly.com/question/25720881

#SPJ1

8 0
2 years ago
To change the size of a field or record by dragging its border a.resize b.magnify c.label d.enlarge
4vir4ik [10]
A. Resize

By dragging the border of a field or record, you are either enlarging it or compressing it. Choices "b" and "d" are only half correct, as there is always the possibility of making it smaller. Hope this helps!
6 0
3 years ago
Read 2 more answers
A set of programs that enable hardware to process data is
andreyandreev [35.5K]
C. the database as in the name is the base of everything.
8 0
4 years ago
I got a kahoot! Totally random pls join!<br><br> Code 08408519!
OlgaM077 [116]

Answer:

say less

Explanation:

5 0
3 years ago
Read 2 more answers
Other questions:
  • Create a class in JobApplicant.java that holds data about a job applicant. Include a name, a phone number, and four Boolean fiel
    13·1 answer
  • In Linux Operating System, what file extension is used forexecutable files?
    6·1 answer
  • Which of the following are possible ways to
    6·2 answers
  • Several steps are involved in creating a presentation. what is the last step in the process before preparing to presenting it?
    12·1 answer
  • What does microsoft recommend for large organizations requiring desktop virtualization for many clients? quizlewt?
    10·1 answer
  • If a user copies the formula D15 into D16, what would the formula read in D16?
    15·2 answers
  • According to the video, who is the most common employer for Foresters?
    14·2 answers
  • Which type of spreadsheet cell represents the left hand sides (lhs) formulas in an optimization analysis?
    5·1 answer
  • Why is the term RAW image file generally used to describe a variety of file formats, which are sometimes known as digital raw ca
    13·1 answer
  • From a database point of view, the collection of data becomes meaningful only when it reflect
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!