menu
Qammunity
Login
Register
My account
Edit my Profile
Private messages
My favorites
Ask a Question
Questions
Unanswered
Tags
Categories
Ask a Question
Given an int variable k that has already been declared , use a do...while loop to print a single line consisting of 53 asterisks. use no variables other than k.
asked
Nov 2, 2018
137k
views
3
votes
Given an int variable k that has already been declared , use a do...while loop to print a single line consisting of 53 asterisks. use no variables other than k.
Computers and Technology
high-school
SalmaFG
asked
by
SalmaFG
8.7k
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
2
votes
do {
System.out.print("*");
k++;
} while(k < 53);
Andrew Arthur
answered
Nov 7, 2018
by
Andrew Arthur
8.4k
points
ask related question
comment
share this
0 Comments
Please
log in
or
register
to add a comment.
← Prev Question
Next Question →
Related questions
asked
Mar 12, 2020
232k
views
Given an int variable n that has already been declared and initialized to a positive value , use a while loop to print a single line consisting of n asterisks. Use no variables other than n.
Pbhd
asked
Mar 12, 2020
by
Pbhd
8.8k
points
Computers and Technology
high-school
1
answer
5
votes
232k
views
asked
Jan 15, 2021
144k
views
In C language 1. Given an int variable k that has already been declared , use a while loop to print a single line consisting of 97 asterisks. Use no variables other than k. 2.Given an int variable n that
Rogergarrison
asked
Jan 15, 2021
by
Rogergarrison
7.8k
points
Computers and Technology
high-school
1
answer
4
votes
144k
views
asked
Jul 6, 2023
86.1k
views
Given an int variable n that has already been declared and initialized to a positive value, use a while loop to print a single line consisting of n asterisks. Use no variables other than n.Write an expression
Gwasshoppa
asked
Jul 6, 2023
by
Gwasshoppa
8.7k
points
Computers and Technology
college
1
answer
1
vote
86.1k
views
Ask a Question
Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.
9.4m
questions
12.2m
answers
Other Questions
“What does it mean when we “rework” copyrighted material?”
The book shows how to add and subtract binary and decimal numbers. However, other numbering systems are also very popular when dealing with computers. The octal (base 8) numbering system is one of these.
Seven basic internal components found in a computer tower
Please help me ! All you do is just put it it all in your own words ! Please this is for my reported card!i don't know how to put it in my own words because my English is not that good!
Disadvantages of using animation in advertising? advantages and disadvantages of using animation for education? advantages and disadvantages of using animation in entertainment?
Twitter
WhatsApp
Facebook
Reddit
LinkedIn
Email
Link Copied!
Copy
Search Qammunity