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
NikAS [45]
2 years ago
10

Write a for loop that prints in ascending order all the positive integers less than 200

Business
1 answer:
ExtremeBDS [4]2 years ago
5 0

The correct answer for the for loop is:

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

if ((i%2)==0 && (i%3)==0){

cout << i << " ";

}

}

Python offers three options for running the loops. For iterating repeatedly through a sequence, use a for loop (that is either a list, a tuple, a dictionary, a set, or a string). This functions more like an iterator method seen in other object-oriented programming languages and is less like the for keyword found in other programming languages. The for loop allows us to run a series of instructions once for each element of a list, tuple, set, etc. There is no need to set an indexing variable before using the for loop.

Write a for loop that prints, in ascending order, all the positive integers less than 200 that are divisible by both 2 and 3, separated by spaces.

Learn more about loops here:

brainly.com/question/25955539

#SPJ4

You might be interested in
Joint costs are ______. Multiple choice question. economically attributable to all end products irrelevant in decisions regardin
Brums [2.3K]

Joint costs are irrelevant in decisions regarding what to do with a product after split-off.

The reason for this answer is because they are not relevant for the decision to either sell or to process further.

The costs are the same. It does not matter if you are to sell at a split off or not. We can then regard it as either a past or sunk cost. In summary it means that they have being paid off already.

Read more on brainly.com/question/14988439?referrer=searchResults

4 0
2 years ago
If you have a total consumption budget, what should you do to ensure you have enough money saved for emergencies and meeting lon
JulijaS [17]
If you have a total consumption budget for each month, then at least consumption budget of between three to six months should be put in your emergency fund account to cater for financial dilemma which may occur at any time due to loss of job or other factors. After this, you can now start saving toward long term goals by saving at least 10% of your income.
8 0
3 years ago
Read 2 more answers
Compounding refers directly to Group of answer choices finding the present value of a future sum of money. finding the future va
zvonat [6]

Answer:

The correct answer is letter "D": interest being earned on previously-earned interest.

Explanation:

Compounding, also called "<em>interest on interest</em>", refers to a method of calculating interest based on the principal of a capital gain plus interest that was already accrued. It is a form of reinvestment based on accumulated interest. Compound interest could be computed by day, month or year.

3 0
2 years ago
A
zysi [14]
The answer is a. if not I’m very sorry
5 0
3 years ago
Kathy knows from her economics class that to isolate the effects of a particular phenomenon, all other things must remain the sa
Citrus2011 [14]

Answer:

Ceteris paribus

Explanation:

Ceteris paribus is a Latin term that means other things being equal. It also means all other things being constant or all other things being unchanged.

In economics when there is need to isolate the effect of an action it is important to keep other variables constant, so that observed results are attributed only to the variable under study.

For example in price elasticity of demand when price increases the demand is observed to reduce. This statement is based on the assumption that all other variables remain constant.

Other variables that can affect the statement above are interest rate, inflation, and income level.

6 0
3 years ago
Other questions:
  • A new company manufactures tennis rackets. The fixed expenses are $78,490 and the variable expenses are $14 per racket produced.
    8·1 answer
  • You have developed the following data on three stocks: Stock A has a standard deviation of .15 and a Beta of .79. Stock B has a
    8·1 answer
  • A study of about 1,800 U.S. colleges and universities resulted in the demand equation q = 9,900 − 2p, where q is the enrollment
    9·1 answer
  • A Corporation manufactures canoes in two departments, Fabrication and Waterproofing and uses a weighted-average process cost sys
    5·1 answer
  • Shawna had a beginning balance in her checking account of $123.32. she wrote check #2341 for $23.77. she deposited two checks to
    10·1 answer
  • Fresh Dairy, Inc., is the offeror and Gelato Ice Cream Company is the offeree under a unilateral sales contract in whichHector’s
    11·1 answer
  • A major equipment purchase is being considered Metro Atlanta. The initial cost is determined to be $1,000,000. It is estimated t
    9·2 answers
  • According to the mini-lecture and text, ___ % of a manufacturer's profit comes from repeat purchases and as a result this is why
    7·1 answer
  • An RBS Risk Impact Assessment benefits from information gathered from: I. Onsite examination II. Offsite examination III. News r
    8·1 answer
  • I'll just give you the points lol
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!