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
The following revenue and expense account balances were taken from the ledger of Guardian Health Services Co. after the accounts
vekshin1

Answer:

                             Guardian Health Services Co.

           Income Statement for the year ended February 28, 20Y0

                                                                        $                        $

Sales

      Service Revenue                                                          334,100

Cost of Goods sold

      Supplies Expense                                                         <u>    4,180</u>

Gross Profit                                                                          329,920

Operating expense

      Utilities Expense                                   26,800

      Wages Expense                                  262,700

      Depreciation Expense                            17,400

      Insurance Expense                                  8,530

      Miscellaneous Expense                           6,790

      Rent Expense                                         70,300

                                                                                         <u>   392,520</u>

Net profit/(loss)                                                                    (62,600)

Explanation:

The income statement is a statement that shows the net profit or loss of a business for a period end. It shows the income made and expenses incurred in the course of a given period.

7 0
3 years ago
Dominic is a customer of Apexoria Credit Union she has $22,978 in a checking account and $2,000 in Saving how much of Dominique'
Nikitich [7]
The Answer is D.$0 Good Luck
8 0
3 years ago
3. Explain why price is equal to marginal revenue in pure competition but not in a monopoly. Include in your explanation why the
melisa1 [442]

Answer:

The answer is in a perfect competition profit is maximized when marginal cost equal marginal revenue and price is equal to average revenue and marginal revenue, while in monopolist profit is maximized when marginal cost is equal to marginal revenue.

Explanation:

The firm in a perfectly competitive market is a price taker,the price in the market is determined by the market forces of demand and supply. The firm has to sell their product at the ruling market price.The demand curve facing the firm in perfectly competitive market is horizontal or perfectly elastic, profit is therefore maximized when the marginal cost is equal to average revenue and marginal revenue. The firm in the market operate at the output level in which the price and marginal revenue is equal to marginal cost. Whatever prices that change the market demand or supply will change the demand curve faced by the firm.The firm cannot do anything to this than to accept the market price and the demand curve.

In a monopoly the demand curve is identical to the demand curve of the firm, because industry demand curve is downward sloping.The monopolist can either set the price or quantity not the two.when one is determined the value of the other will be determined by the demand function. The profit maximization of the monopolist also requires that marginal cost must be equal to marginal revenue just like in the case of perfect completion.when the monopolist equates MR and MC the monopolist determines its output and the market price for the product. The revenue curve is steeper than the demand curve,because the straight line is the market demand. The firm will have to reduce The price of the product if they want to sell more of their product the unit of the product sold is the AR which is equal to the price.Therefore the AR curve of the monopolist and the perfect competition MR and AR are both identical that informed the reason why the marginal revenue curve is steeper than the demand curve for a single price monopolist.

8 0
3 years ago
Is it possible to decrease inflation without causing a recession and its concomitant increase in unemployment? The orthodox answ
NeTakaya

Answer:

The answer is: E) It would not necessarily be considered high elsewhere

Explanation:

Usually the inflation rate in the US and Europe is around 1-3%. In the early 1980's the US inflation rate was above 10% so it was considered huge. But if you consider it against inflation rates in other countries, like Argentina for example, which currently has an annual inflation rate of over 60% then it wasn't that big. During the 1980's many countries suffered from hyperinflation, with monthly inflation rates of over 50%.

So the high inflation rate in the US and Europe wasn't necessarily high for other countries.

5 0
4 years ago
Gross profit equals the difference between sales revenue and cost of goods sold plus operating expenses. net income and operatin
juin [17]

Answer:

Gross profit equals the difference between sales revenue and cost of goods sold.

Explanation:

The gross profit is calculated by subtracting total cost of goods sold from total sales. Both the total sales and cost of goods sold are found on the income statement.

Gross profit = Sales revenue - cost of goods sold.

It is one of three profit metrics used in business statement reports

6 0
4 years ago
Other questions:
  • He Celler-Kefauver Antimerger Act of 1950 Group of answer choices
    15·1 answer
  • Stressors and negative emotions are both
    15·1 answer
  • An associate degree is a:
    10·1 answer
  • So, I got a job two weeks ago and I'm a minor. I don't have a work permit. Is a permit necessary to get paid? I haven't been ask
    5·2 answers
  • Give a fun advertisement for ice cream. Choose from 15 to 30 flavors. You don’t have to mention the flavors just mention how man
    5·1 answer
  • An investment counselor calls with a hot stock tip. He believes that if the economy remains​ strong, the investment will result
    13·1 answer
  • How taxation and legislation impact positively and negatively on a company?
    14·1 answer
  • On January 1, Year 1, Marino Moving Company paid $48,000 cash to purchase a truck. Marino planned to drive the truck for 100,000
    13·1 answer
  • Alan tries to make life easy on his employees by telling them exactly what to do and how to do it. he believes that most of his
    6·1 answer
  • On December 1, a company accepted a $5,000, 4%, 90-day note. How much accrued interest will be recorded as an adjusting entry on
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!