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
What role do individuals play in a capitalist system?
VMariaS [17]

Answer:

Explanation:

INCAPITALIST SYSTEM ,INDIVIDUALS ARE KEY BECAUSE THE GOVERMENT DOES NOT CONTROL ECONOMY .ALL ECONOMIC DECISIONS AND ACTIONS ARE CONTROLLED.......

3 0
3 years ago
BE18.12 (LO 2, 3) Manual Company sells goods to Nolan Company during 2020. It offers Nolan the following rebates based on total
Lostsunrise [7]

Answer:

$103,400

Explanation:

Does Manuel have any certainties that Nolan will purchase more than 30,000 units during the year? Apparently, according to historic sales, Nolan purchases at least 40,000 units per year, so Manuel should consider that Nolan will again purchase a similar amount this year and therefore, will be entitled to a rebate.

Another issue that must be considered is that 30,000 units / 4 quarters = 7,500 units per quarter, and Nolan clearly purchased more than that.

A rebate is not a discount, it happens when the seller offers a certain amount of goods to a buyer without cost because the buyer purchased more than an specific amount. It is basically an incentive or prize that Manuel gives Nolan for being a good client.

Manuel should recognize $110,000 x (1 - 6%) = $103,400 in revenues

6 0
3 years ago
Santiago company incurs annual fixed costs of $66,000. variable costs for santiago's product are $34 per unit, and the sales pri
babunello [35]

Answer: 6250

Explanation:

From the question, we are informed that Santiago company incurs annual fixed costs of $66,000. variable costs for santiago's product are $34 per unit, and the sales price is $50 per unit. santiago desires to earn an annual profit of $34,000.

The contribution margin ratio approach to determine the sales volume in dollars and units required to earn the desired profit for thus:

Contribution margin ratio = (Sales price - Variable cost)/Sales price

= (50-34)/50

= 16/50

= 0.32

Sales = (66,000 + 34,000)/0.32

= 100,000/0.32

= 312,500

Sales volume in units will be sales divided by price. This will be:

= 312,500/50

= 6250

6 0
3 years ago
A report that shows the financial picture of a company at a given time and itemizes assets, liabilities, and stockholders' equit
Allisa [31]

Answer:

Balance sheet is the correct answer because it tells about the worth of company, its assets, shareholders funds (Equity) and amount borrowed by the company (Liability). Balance sheet is also known as Statement of Financial Position (SOFP)

All the other options tells about the earnings and costs of the company not about the assets and liabilities of the company.

6 0
2 years ago
What does it mean to do time analysis which is one of the principles referred to ?
Whitepunk [10]
Data Analysis - Process. Data Analysis is a process of collecting, transforming, cleaning, and modeling data with the goal of discovering the required information. The results so obtained are communicated, suggesting conclusions, and supporting decision-making.
3 0
3 years ago
Other questions:
  • Gabriela took out a five-year fixed-rate loan from a bank so that she could purchase a car. Over the life of the loan, the infla
    6·2 answers
  • Why are benefits of the sale or purchase of bonds?
    7·1 answer
  • When you exchange documents with your co-workers through organization-approved methods, this is considered __________?
    11·1 answer
  • Suppose that in 1984 the total output in a single-good economy was 7,000 buckets of chicken. Also assume that in 1984 each bucke
    8·1 answer
  • One hundred of the voters in a town are willing to pay $100 each to support a public green space, which will cost $10,000 to bui
    9·1 answer
  • On December 21, 2017, Novak Company provided you with the following information regarding its equity investments.
    12·1 answer
  • A mortgage is a document in which a lender reclaims a property due to lack of payment by the borrower.
    12·2 answers
  • The purpose of the cash flow statement is to:
    5·1 answer
  • PLEASE HELP!!!!!!!!!!
    6·1 answer
  • Which form of alternate site is the cheapest, but may not allow an organization to recover before reaching their maximum tolerab
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!