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 budget is a type of financial report that scrutinizes the inflow of money in a given financial year?
earnstyle [38]

That is known as a cash flow statement.

6 0
4 years ago
Trez Company began operations this year. During this first year, the company produced 100,000 units and sold 80,000 units. The a
hjlf

Answer:

<u>Income statement for the company under variable costing</u>

Sales (80,000 units x $45)                                                             $3,600,000

Less Cost of Sales

Beginning inventory                                                          $0

Cost of goods manufactured (100,000 units x $19) $1,900,000

Cost of good available for sale                                 $1,900,000

Less Ending inventory (20,000 x $19)                      ($380,000) ($1,520,000)

Contribution                                                                                    $2,080,000

Less Period Costs

Fixed Manufacturing  Overhead                                                     ($600,000)

Selling and administrative expenses - Fixed                                 ($400,000)

Selling and administrative expenses - Variable                             ($180,000)

Net Income / (loss)                                                                            $900,000

Explanation:

Under Variable Costing.

1.Product cost = Variable Manufacturing Costs Only

Therefore, Product cost = $4 + $11 + $ 4

                                        = $19

2.Period Cost = Fixed Manufacturing Overheads + Non - Manufacturing Costs

5 0
3 years ago
Under what circumstances would a firm be more likely to buy the required number of bonds in the open market as opposed to using
Sholpan [36]

Answer:

When interest rate are higher than coupon rate the company may want to purchase the bond in the open market

Explanation:

As the market value of the bond is considered as the present value of the coupon and maturity discounted at market rate a higher rate will make the present value of the bond to decrease therefore, below par. this makes the company a better option to purchase the bond rather than calling if it wants to retire the bonds.

6 0
3 years ago
A market structure with many sellers and many buyers is
konstantin123 [22]
I believe it’s b I’m sorry if I’m wrong
5 0
3 years ago
Read 2 more answers
How much of the stuff bought in the madness gets returned shortly after?
babymother [125]

Usually, people will buy 2 or 3 products that function almost the same; after that, they will be returned goods that don't match what they want.

Return of goods can be done in accordance with the terms and a predetermined period of time. In addition, there must be proof of purchase.

Sales returns are receipts of goods by the seller that are returned from the buyer. With a return policy, every item that has been purchased can be returned to the store that sold it as long as it is within the specified time and money equal to the price of the item will be returned.

Reasons for consumers returning goods are generally because they do not fit the size (for example clothing, mattresses, shoes, and others), do not meet expectations or there are similar items that are more attractive and more useful.

Learn more about example of a return transaction here :

brainly.com/question/11794378

#SPJ4

7 0
1 year ago
Other questions:
  • A company is starting a fish farm in a man-made lake with a carrying capacity of 7500. The CEO wants to have a population of 500
    11·1 answer
  • The relationship between financial leverage and profitability   Pelican​ Paper, Inc., and Timberland​ Forest, Inc., are rivals i
    13·1 answer
  • At his comic book store, Korey’s Comics, Korey sells approximately $3,250 in comic books each month. But as a comic book dealer,
    13·2 answers
  • In a(n) _____ decision, there may be several "right" answers, and there is no precise way to get a right answer. A. recurring B.
    10·1 answer
  • "An unexpected benefit of deliberate practice is ______"
    8·1 answer
  • Madrid Company has provided the following data (ignore income taxes):
    15·2 answers
  • What would cause a shift of demand curve for snickers bars
    13·1 answer
  • Use the drop-down menus to identify the career that matches the description.
    10·2 answers
  • The National Credit Union Administration provides coverage up to $250,000 per individual depositor at each credit union.
    9·1 answer
  • The City of Mayville had total fund balance in its General Fund of $200,000 on December 31, 2019. The City of Maysville's Genera
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!