menu
QAmmunity.org
Login
Register
My account
Edit my Profile
Private messages
My favorites
Register
Ask a Question
Questions
Unanswered
Tags
Categories
Ask a Question
Write a complete program that inputs a positive integer n and then prints a triangle of asterisks n lines high and 2n - 1 columns wide. For example, if the input is 5 then the output should be: * * * *
asked
Sep 20, 2022
18.5k
views
5
votes
Write a complete program that inputs a positive integer n and then prints a
triangle of asterisks n lines high and 2n - 1 columns wide. For example, if the
input is 5 then the output should be:
*
* * *
* * * * *
* * * * * * *
* * * * * * * * *
Health
college
Halfflat
asked
by
Halfflat
6.4k
points
answer
comment
share this
share
0 Comments
Please
log in
or
register
to add a comment.
Please
log in
or
register
to answer this question.
1
Answer
7
votes
Answer:
2(5)-1=9
Step-by-step explanation:
Dnaranjo
answered
Sep 27, 2022
by
Dnaranjo
7.2k
points
ask related question
comment
share this
0 Comments
Please
log in
or
register
to add a comment.
Ask a Question
Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.
7.3m
questions
9.7m
answers
Other Questions
This gas makes up close to one fourth of the air surrounding earth
Is the plurea one of the membranes beside the lungs?
To develop good eye habits, you should ___________.
When a disease cannot be passed from person to person, it is referred to as a
Certain skills and behavior patterns that normally develop during the stages of life are called.
Twitter
WhatsApp
Facebook
Reddit
LinkedIn
Email
Link Copied!
Copy
Search QAmmunity.org