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
Drugs affect your _____.
aleksley [76]

Answer:

mind and body

Explanation:

because in medicine also there is drug but taking of unwanted drug is called drug abuse

7 0
4 years ago
When you know a firearm's effective killing range, you can determine: which animals you can hunt which stance to use when shooti
MrMuchimi
The answer that best fits the question is that 'when a shot will give a clean kill' because a firearm's killing range can be known or considered to be more effective if it has the capacity of providing a clean kill with only using a one shot and does not require for a second or more.
7 0
3 years ago
You are organizing an executive event for the company you work for. Write a letter to the person in charge of a venue that you a
babymother [125]

Answer:

                                  Mi-Tech Information and Communication INC,

                                  43 D-Drive, Michigan,

                                  USA.

                                  August 8th, 2020.

The Empire Event Center INC,

3 Boulevard avenue, Michigan,

Sir,

            INFORMATION INQUIRY FOR HOSTING AN EVENT

As the communication officer of the above named company, I wish to bring to your notice about our aim of hosing our end of the business year party using your facility. This is based on the agreement reached by the management board.

Unfortunately, due to lack of detailed information and financial implication involved, I was asked to write to your company. The information I need from your company include:

1. The cost of the event Venue

2. The cost of catering of food for 200 people in the venue. Drinks and water would be inclusive.

3. The entertainment, would it be free when renting the event venue or it would attract extra charge?

4. The valet who would render services, what are their charges like or would the cost be catered by your company?

5. The proposed date for the party is 30th and 31st December. Hope your organization is not engaged by that time?

6. What other extra services is available and which your company offers for such events we are planning to host?

7. Is there any other extra cost which my company should be aware of if we are to use your facility?

I will need to relay back to the management board the above answers to questions which I asked above. I look forward to your response soonest.

Yours sincerely,

Adam Michael (Communication officer)

For: Mi-Tech Information and Communication INC.

Explanation:

8 0
4 years ago
Use the above adjusted trial balance to prepare Wilson Trucking Company’s classified balance sheet as of December 31, 2017.Cash
eimsori [14]

Answer:

.............................................. Wilson Trucking Company ......................................

................................................ Classified Balance Sheet ......................................

....................................................... December 31, 2017.........................................

Assets

Current assets  

Cash .................................................... $5,900  

Account receivable ............................ $27,500  

Office supplies....................................<u>. $7,590 </u>

Total current assets ............................................. $40,990

Non current assets  

Land ......................................................................... $48,000

Truck ..................................................... $196,000  

Less: Accumlated depreciation - Truck  $(40,376) $155,624

Total Non current assets ......................................... $203,624

Total Assets ............................................................... $244,614

Liabilities

Current Liabilities  

Account payable................................. $9,900  

Interest payable ................................. <u>$7,000  </u>

Total current liabilities............................................... $16,900

Long term liabilities  

Long term notes payable.......................................... $63,000

Total liabilities............................................................. $79,900

Stockholder's equity

Common Stock ................................... $15,000  

Retained earnings............................... $<u>149,714  </u>

Total Stockholder's equity......................................... $164,714

Total liabilities and stockholder's equity.................. $244,614

Retained Earnings

= Opening retained earnings + Net Income - Dividends

Net Income

= Revenue - Expenses

= 126,000 (Trucking fees earned ) - 26,043 - 64,722 - 17,000 - 11,868

= $6,367

Retained earnings

= 172,347 + 6,367 - 29,000

= $149,714

8 0
4 years ago
The demand curve faced by a perfectly competitive firm rev: _______
vivado [14]

Answer:

The answer is D.

Explanation:

The demand curve faced by perfectly competitive firm is horizontal. This means that if individual firm charges price above the market price, it will not sell anything.

The curve is the same as marginal revenue curve because change in total revenue from selling one more unit(marginal revenue) is the constant market price.

And it holds in perfect market that price equals marginal revenue (P=MR).

The correct option is D.

6 0
3 years ago
Other questions:
  • A warewashing machine and/or the compartments of sinks/basins must be cleaned:
    9·1 answer
  • Suppose a project will result in an economic benefit of $20 million dollars 25 years from now. If the discount rate is 3%, what
    12·1 answer
  • The amount of taxes a business owes is a/an
    15·1 answer
  • Which of the following statements is TRUE?
    11·1 answer
  • The "organizational versus individual rationality" perspective suggests that
    5·1 answer
  • Mel, an agent for a dress shop, orders one hundred dresses from SAG Manufacturing for the April Sale. There is no specific agree
    6·1 answer
  • UNIT 4-5: DETERMINANTS PRACTICE I Practice with Shifts of Demand &amp; Supply
    7·1 answer
  • A middleman is a person who
    7·1 answer
  • Depreciation for Partial Periods Clifford Delivery Company purchased a new delivery truck for $36,000 on April 1, 2019. The truc
    15·1 answer
  • When gathering information, which of the following tasks might you need to
    15·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!