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
How does creating and maintaining competitive advantages in a platform business like Uber’s differ from a vertical chain busines
omeli [17]

Answer:

Explanation:

It differs from those adopted by taxi companies because platform business most times embrace a monopoly approach because they take over the market. Platform business have strong network effect and multihoming cost and they don't have a taste for service, therefore there is the consideration of strong Internet based network which connects drivers to customers which is a competitive advantage. There is the e-payment platform. The organization does not mange drivers or seek patronage since they do not bearing homing cost. Their only aim is to create a connection between drivers and their customers.

8 0
3 years ago
A monopoly is a market that has--
Dovator [93]

The answer is D, A single supplier of a good or service.

3 0
3 years ago
Read 2 more answers
Intellectual Property can be protected by
mash [69]
The answer you are looking for is copyright
5 0
4 years ago
A firm is analyzing two possible capital structureslong dash30 and 50 percent debt ratios. the firm has total assets of​ $5,000,
const2013 [10]
Jkghjrt rth th tuyhth ghthfdsh thhtshgh th
6 0
3 years ago
do you beleive sending targeted advertising information to a computer using cookies is objectionable? why or why not?
Rufina [12.5K]

No, I feel that targeted advertising with cookies is not at all objectionable; rather, it is a very efficient technique for an organization to advertise and promote its products or services.

We commonly see files and pop-ups in our browsers when browsing the internet; these are cookies, and we typically encounter them at sites that we frequently visit. I feel that this is not at all offensive, but rather an efficient method of advertising and marketing things by segmenting the appropriate audience or prospective business.

Targeted advertising, or those customized ones that follow you across the internet containing products that you might really desire, have a lot of negative connotations: they're creepy, misleading, and possibly humiliating, among other things.

A cookie is a piece of software that allows websites to access data saved on the hard disk of a user. This enables them to recognize a visitor when he returns to their site, but only if the user has already identified himself with personal data that permits him to be recognized. For each new user, each new cookie generates a unique identifying code. These cookies can only be acquired for usage when the user directly visits the website server or via a third-party tag.

For more information on Cookies, visit :

brainly.com/question/27960855

#SPJ4

4 0
1 year ago
Other questions:
  • John: "I will sell you my laptop computer for $330." Mary: "Will you include the carrying case"? John: "Sold." a. There is a con
    9·1 answer
  • Which of the following is a positive economic​ statement? A. Everyone should live at the same standard of living. B. If the pric
    8·1 answer
  • The yurdone corporation wants to set up a private cemetery business. according to the cfo, barry m. deep, business is "looking u
    7·1 answer
  • The classical dichotomy is the separation of real and nominal variables. The following questions test your understanding of this
    15·1 answer
  • If you want to sell unique wristbands to the 250 participants in a special boating event to raise funds for research for a rare
    13·2 answers
  • The Crane Company issued $250,000 of 10% bonds on January 1, 2020. The bonds are due January 1, 2025, with interest payable each
    8·1 answer
  • Jacob Smith overheard that Joe Dunn was blowing the whistle on managers at XYZ Company and that a full story would appear in Sun
    13·1 answer
  • Ahmed is a department head at Southwest City Hospital. He spends most of his time training and coaching employees to perform the
    5·2 answers
  • In Q1 2018, CNA Companies reports the following transactions:
    8·1 answer
  • An increase in debit balances means more investing by naive investors and would be a bearish indicator.
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!