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
A marketing campaign makes unsubstantiated claims for the product it is promoting. Under ________, such advertisements would be
vredina [299]

Answer:

Section 5 of the FTC Act

Explanation:

Section 5 of the FTC Act prohibited companies to make "deceptive actions"  during all activities in a commerce.

In marketing, this section of the Act prevented companies to falsely promoting their products. They're required to truthfully listed all ingredients of the product and banned from making claim that are misleading to the consumers.

For example, you can't claim a drug that you sell can cure cancer without proper authorized researches to back it up.

3 0
3 years ago
Consumer surplus Select one: a. is the amount of a good that a consumer can buy at a price below equilibrium price. b. is the am
Burka [1]

Answer:

b. is the amount a consumer is willing to pay minus the amount the consumer actually pays.

Explanation:

Consumer surplus = willingness to pay less price of the good.

Let assume a student is willing to pay $30 for a book and the price of the book is $15. The student's consumer surplus is $30 - $15 = $15

I hope my answer helps you

8 0
3 years ago
In year 1 the price level is constant and the nominal rate of interest is 6 percent. But in year 2 the inflation rate is 3 perce
LiRa [457]

The nominal interest rate will rise by 3%.

Nominal interest rate is the sum of real interest rate and inflation rate. Real interest rate is interest rate that has been adjusted for inflation. Inflation is the persistent rise in general price levels.

Nominal interest rate in year 2 = real interest rate + inflation rate

6% + 3% = 9%

Nominal interest rate in year 1 = 6%

Change in nominal interest rate = 9% - 6% = 3%

To learn more, please check: brainly.com/question/21323568

6 0
2 years ago
Which of the following things can help you get a lower interest rate when you receive a loan? A. A low credit score B. A history
Roman55 [17]

Answer:

Collateral

Explanation:

4 0
2 years ago
Read 2 more answers
. Discuss and Implement the Price Adjustment Strategies in current market. Apply each strategy with 3 examples along with pictur
astra-53 [7]

Answer:

There are many different price adjustment strategies which can be implemented in the current market.

Explanation:

Psychological pricing:

Psychological pricing is a strategy in which the price of a product is displayed with mostly one cent difference so the whole number shown is less by $1 and this difference can get higher if the price of the product is more.

Example 1: The price for a toy in a toy shop is $4.99, if rounded this will be $5 but the whole number visible is $4.

Example 2: The price of a laptop is $193, this again is nearly $200 but the price is reduced by $7 in order to influence their customers into buying the product.

Example 3: The price of a car is $35,995, this again is about $36,000 but the buyer may be influenced by this technique and result in purchasing the product with such price.

Geographical Pricing:

Geographical pricing is a strategy where different prices are charged in different outlets, this strategy is made keeping in mind the purchasing power of the locality, if the local people can pay higher price for a product then the price is high there but same product may have a lower price in an area where people can not pay high price.

Example 1: Price of a T-shirt is $15 in a posh area while the price of the same T-shirt is $5 in an area with poor locality.

Example 2: Price of a hair brush is $10 in a poor area while the same brush is available in a posh area at a rate of $35.

Example 3: Price for a food item is $6 in a restaurant in posh area while the same burger is available for $3 in a restaurant in a poor area.

7 0
3 years ago
Other questions:
  • Setting a price on perishable items does not include calculating?
    13·2 answers
  • 6. Name at least five things Pete and Jessica need to look out for when making stock investments. Before making any stock​ inves
    10·1 answer
  • The following information is available for completed Job No. 402: Direct materials, $120,000; direct labor, $180,000; manufactur
    14·1 answer
  • A deposit of $1000 at 4% interest compounded continuously will grow to v(t) = 1000 e^0.04 dollars after t year. Find the average
    12·1 answer
  • You are the PR officer of a major MNE in the chemical industry. The national press in your home country alleges that your compan
    10·1 answer
  • Coronado Industries began the year 2022 with retained earnings of $661000. During the year, the company sold additional shares o
    14·1 answer
  • Which of the following BEST describes business strategy? a strategy that assists first-line managers in making day-to-day decisi
    9·1 answer
  • Assume you are going to receive a payment of $1,000 in 5 years. You'd like to know what that cash flow would be worth in 2 years
    6·1 answer
  • Select the correct answer. What does a production possibilities curve represent? D A a combination of price and demand of goods
    7·1 answer
  • When people believe that past behavior is the best predictor of future behavior, they have __________ expectationsa. rational
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!