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
bazaltina [42]
3 years ago
7

Display all the natural numbers from 1 to 100 that are exactly divisible by 3 and 7 using FOR … NEXT. Without using Mod

Computers and Technology
1 answer:
Tcecarenko [31]3 years ago
6 0

Answer:

FOR i% = 1 TO 100

 IF ((i%\3) = i%/3) AND ((i%\7) = i%/7)  THEN

   PRINT i%

 END IF

NEXT i%

Explanation:

Of course using MOD would be cleaner, but another way to check if a number is integer divisable is to compare the outcome of an integer division to the outcome of a floating-point division. If they are equal, the division is an integer division.

The program outputs:

21

42

63

84

You might be interested in
What is the force that resists the motion of an object through a fluid?
STALIN [3.7K]

Answer:

Friction (drag)

Explanation:

The force resisting motion through a fluid is a type of friction, that is called drag.

4 0
3 years ago
If a document reaches you, and requires you to perform some action, you should do it immediately if ________.
ankoles [38]
<span>You should do it if C. it will take less than two minutes to complete </span>
6 0
4 years ago
Read 2 more answers
HELP! I am trying to get my google account back for school and business, can someone help?
yawa3891 [41]

does it say its deleted if so make a new account and the apps and website put in your email and passwords if not then put in your pass ord and email to get it back what device u have.

5 0
3 years ago
Describe three ways to call attention to the text on a web page.
vichka [17]

Answer:

Underline the important text.

Make Links a Different Colour.

Making visual adjustments such as making text bold, making it italicized, making it ALL CAPS.

8 0
3 years ago
Create a cell reference in a formula by typing in the cell name or
lesya [120]

1 Click the cell in which you want to enter the formula.

2 In the formula bar , type = (equal sign) and the formula you want to use.

3 Click the tab for the worksheet to be referenced.

4 Select the cell or range of cells to be referenced.

MARK ME BRAINLIEST PLEASE!!!!!!!!!

5 0
3 years ago
Read 2 more answers
Other questions:
  • Given 3 floating-point numbers. Use a string formatting expression with conversion specifiers to output their average and their
    14·1 answer
  • Ninety-two percent of the new information was stored on magnetic media, mostly in _____.
    11·1 answer
  • Which behavior could be acceptable at a classical concert as well as at a ball game? standing for an exceptional performance che
    9·2 answers
  • ROE: what does this represent (in plain terms)? In what range would this number typically be? What type of person/position would
    11·1 answer
  • The packets used to transmit voice on the Internet are similar to the packets that are used to send email. What are some of the
    7·1 answer
  • What is a major way that a consumer can protect himself/herself when getting a credit card? A) Making sure that they get a very
    8·1 answer
  • Why might it be a good idea to choose a bus topology?
    6·2 answers
  • What is the multiple source test
    15·1 answer
  • Use the {blank} to view your presentation the way an audience will see it.
    13·2 answers
  • What is the engine for<br> ?
    6·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!