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
In 1992, the Enron Development Corporation, a subsidiary of the Houston-based energy company, signed a contract to build the lar
AfilCa [17]

Answer:

Option E is correct.

All of the above

Explanation:

This is an example of political risk since The current political party in Maharashtra-Shiv sena intervened and used Enron for its selfish interests. When US department of energy issued a statement that cancelling Enron could endanger other private FDI from USA, the same was again used to further its selfish interests. Finally Maharashtra renegotiated its contract with Enron.

3 0
3 years ago
How do you do income statement​
igomit [66]

To prepare an income statement, you will need to generate a trial balance report, calculate your revenue, determine the cost of goods sold, calculate the gross margin, include operating expenses, calculate your income, include income taxes, calculate net income and lastly finalize your income statement with business details and the reporting period.

If you can't find the time to make one from scratch, there are templates that can be used to help.

gross margin :  the amount of money a company retains after incurring the direct costs associated with producing the goods it sells and the services it provides.

net income : net earnings, is calculated as sales minus cost of goods sold, selling, general and administrative expenses, operating expenses, depreciation, interest, taxes, and other expenses.

3 0
2 years ago
Anna recently moved to Boston in order for her husband Joe to begin a new job as an economics professor at Harvard. Anna is an e
kirill115 [55]

Answer:

uh

Explanation:

8 0
3 years ago
____ consumption occurs when consumers "set apart" objects and events from normal activities and treat them with respect. ____ c
solong [7]

Answer:

  • Sacred consumption
  • Profane consumption

Explanation:

This differentiation is based on special religious events (e.g. religious holidays) that considered some goods as sacred, while profane had to do with everyday life.

Some modern marketing strategies try to build sacred brands. For example, Google has become our God of all knowledge and no one even dares to challenge that almost religious belief. Anyone can make their own coffee or buy coffee at any coffee shop, but Starbucks is different, it has built a sense of emotional connection with the public. It's not any coffee that we need or want.  

6 0
3 years ago
The Fine Art Museum, a not-for-profit entity, allocated expenses 80% to programs and 20% to general and administrative.
yuradex [85]

The preparation of the necessary journal entries for The Fine Art Museum is as follows:

<u>Journal Entries</u>:

a. Debit Cash $500,000

Credit Admissions Fees $500,000

  • To record the receipt of admissions fees in cash from visitors.

b. Debit Cash $250,000

Credit Admissions Fees $250,000

  • To record the receipt of special admissions fees for "Friends of the Museum."

c. Debit Salary Expense $250,000

Credit Salary Payable $60,000

Credit Cash $190,000

  • To record salary expense paid and payable.

d. Debit Operating Expenses $400,000

Credit Operating Expenses Payable $30,000

Credit Cash $370,000

  • To record operating expenses paid and payable.

Debit Supplies $50,000

Credit Operating Expenses $50,000

  • To transfer operating expenses to Supplies.

Debit Supplies Expense $30,000

Credit Supplies $30,000

  • To record supplies expense for the year.

e. Debit Pledges Receivable $200,000

Debit Cash $150,000

Credit Pledges Receivable $150,000

Credit Allowance for Uncollectible Pledges $30,000

  • To record pledges receivable and allowance for uncollectibles.

f. Debit Cash $600,000

Credit Sale of collections $600,000

  • To record the sale of wonderful collections from a will.

Data Analysis:

Allocation of Expenses:

Programs = 80%

General and Administrative = 20%

a. Cash $500,000 Admissions Fees $500,000

b. Cash $250,000 Admissions Fees $250,000 ($25 x 10,000)

c. Salary Expense $250,000 Salary Payable $60,000 Cash $190,000

d. Operating Expenses $400,000 Operating Expenses Payable $30,000 Cash $370,000

Supplies $50,000 Operating Expenses $50,000

Supplies Expense $30,000 Supplies $30,000

e. Pledges Receivable $200,000 Estimated Receivable Pledges $170,000

Uncollectible Pledges $30,000

Cash $150,000 Pledges Received $150,000

f. Cash $600,000 Sale of collections $600,000

Learn more: brainly.com/question/16781277

3 0
2 years ago
Other questions:
  • Suppose that some investors have decided that economic and financial uncertainty have made the prospect of investing in domestic
    13·1 answer
  • Jack has $1,000 to invest. He has a choice between municipal bonds with an interest rate of 4% or corporate bonds with an intere
    13·1 answer
  • Describe three ways that globalization is having a negative impact on the environment
    7·1 answer
  • Many managers, particularly those who have been with a company for a long time, are afflicted with "____________", which can get
    15·1 answer
  • _____ is used to coordinate supply chain members through point-of-sale (POS) data sharing and joint planning. a. Confidentiality
    13·2 answers
  • Due to ____, market forces should realign the cross exchange rate between two foreign currencies based on the spot exchange rate
    10·1 answer
  • Laura has an equity portfolio valued at $11.2 million that has a beta of 1.32. She has decided to hedge this portfolio using SPX
    8·1 answer
  • Write a function rule for finding the amount of daily pay, p, in the following situation: A bus driver gets paid $100 each day p
    11·1 answer
  • Inflation: group of answer choices is a continuous decrease in the price level. can obscure relative price changes. always makes
    7·1 answer
  • What are subchapter c earnings and profits (e&amp;p)? how does the existence of such e&amp;p affect the s corporation's ability
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!