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
3.8k
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
4.6k
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.
4.5m
questions
5.8m
answers
Other Questions
Which of the following is BEST for increasing muscular strength and endurance?A. hikingB. gymnasticsC. weight trainingD. basketball
13. The average teenage girl worries most about her Social self-esteem Academic self esteem Moral self esteem All of the above
Which drugs may cause teeth discoloration? Tetracyclines Antibiotics Penicillins Macrolides
It is never healthy to use the wishful thinking coping style. A. True B. False
Andrea has met with the director of the local animal shelter to see how she can help them find homes for the dogs and cats. Working with the director she made a plan to record commercials for the local
Twitter
WhatsApp
Facebook
Reddit
LinkedIn
Email
Link Copied!
Copy
Search QAmmunity.org