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
stealth61 [152]
3 years ago
11

Assume that the int variables i, j and n have been declared, and n has been initialized. Write code that causes a "triangle" of

asterisks to be output to the screen, i.e., n lines should be printed out, the first consisting of a single asterisk, the second consisting of two asterisks, the third consisting of three, etc. The last line should consist of n asterisks. Thus, for example, if n has value 3, the output of your code should be (scroll down if necessary): * ** ***
Computers and Technology
1 answer:
makvit [3.9K]3 years ago
6 0

Answer:

The code that will cause the triangle of  asterisks is given by;

for (i=1; i<=n; i++){

for (j=1; j<=i; j++)

cout << "*";

cout << "\n";

}

Explanation:

You might be interested in
Among the web programming languages, css is used to define _____ of the web page
Slav-nsk [51]

CSS is used to define format the layout text styles, table sizes, and other aspects etc of Web pages

4 0
3 years ago
What type of address is the ip address 198.162.12.254/24?
grigory [225]
<span>The IP address 198.162.12.254/24 is a </span>Unicast address.
4 0
3 years ago
Sentiment analysis algorithms use simple terms to express sentiment about a product or service, so ________ makes it __________
Anna35 [415]

Answer:

sarcasm , difficult

Explanation:

Sarcasm make it difficult to classify online content as positive ,negative or neutral because sarcasm content had many meaning and it involve some humor also which make it difficult weather to classify as positive or negative or neutral.

5 0
3 years ago
Under which menu option of a word processing program does a star appear?
Citrus2011 [14]

A callout is a type of text box that also includes a line for pointing to any location on the document. A callout appears under the SHAPES <span>menu of the word processing program. The answer that completes this statement is the word "shapes". Hope this answers your question. </span>
3 0
3 years ago
Read 2 more answers
Define watcher block
DochEvi [55]

Answer:

Happens when you are watching a series / film / drama / etc. but can not retain the attention span to watch for long periods of time. As well as the shortened viewing time, the ability to retain what has been viewed is impaired.

Explanation:

5 0
3 years ago
Read 2 more answers
Other questions:
  • Select the correct answer from each drop-down menu.
    8·1 answer
  • simpley convert the code below to assembly languageYour proof-of-study task is to hand-compile the code below into an assembly l
    11·1 answer
  • Which notification appears on the screen when a new Outlook item arrives?
    10·1 answer
  • Jane, a marketing manager for the Grocery SuperStore retail chain, fired up a computer program that gave her ready access to inf
    6·1 answer
  • You need to transmit PII via email and you want to maintain its confidentiality. Which of the following choices is the BEST solu
    8·1 answer
  • Question 4: What will be the output of the code? Show a complete analysis.
    6·1 answer
  • Which of the following represents the biggest difference between asymmetric and symmetric cryptography?
    9·1 answer
  • Explain the differences between apple and android
    14·2 answers
  • Discuss briefly four types of websites and the criteria you will use to evaluate the content of a website
    8·1 answer
  • In order to send a photo in a text message from your cell phone to your cousin's cell phone who lives in New Zealand, is it nece
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!