menu
QAmmunity.org
Login
Register
My account
Edit my Profile
Private messages
My favorites
Ask a Question
Questions
Unanswered
Tags
Categories
Ask a Question
"write code that prints: countnum ... 2 1 your code should contain a for loop. print a newline after each number. ex: countnum
asked
Mar 4, 2019
163k
views
2
votes
"write code that prints: countnum ... 2 1 your code should contain a for loop. print a newline after each number. ex: countnum
Computers and Technology
college
David Weinberg
asked
by
David Weinberg
7.6k
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
public procedure countdown (countnum: integer)
begin
while countnum > -1 do begin
System.out.printline(countnum);
countnum := countnum - 1;
end;
end
Awied
answered
Mar 8, 2019
by
Awied
7.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
Jun 17, 2020
66.3k
views
c programming Write code that prints: Ready! countNum ... 2 1 Go! Your code should contain a for loop. Print a newline after each number and after each line of text Ex: countNum = 3 outputs: Ready! 3 2
Derek Janni
asked
Jun 17, 2020
by
Derek Janni
7.7k
points
Computers and Technology
college
1
answer
3
votes
66.3k
views
asked
Aug 21, 2024
633
views
Write a for loop that prints: 1 2 ___________ countnum. For example, if the input is 4, the output is: 1 2 3 4.
Alexander Obersht
asked
Aug 21, 2024
by
Alexander Obersht
8.5k
points
Mathematics
high-school
1
answer
1
vote
633
views
asked
Aug 26, 2021
215k
views
Create a function named CountVowels() that takes one parameter name epsilon (in the function) Create a variable name countNum and set it to zero Create a for loop that with a lower bound of zero, upper
DanielCollier
asked
Aug 26, 2021
by
DanielCollier
8.3k
points
Computers and Technology
high-school
1
answer
2
votes
215k
views
Ask a Question
Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.
9.5m
questions
12.2m
answers
Other Questions
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.
Disadvantages of using animation in advertising? advantages and disadvantages of using animation for education? advantages and disadvantages of using animation in entertainment?
Explain why binary codes are used to represent characters, numbers and symbols :)
If a person sends email from a school computer or a business computer, should that message be considered private? Does the institution or person that owns the computer from which email is sent have a right
Allow the user to enter a series of temperatures in degrees Celsius (C) ter- minated by the input of –999. For each one, find the corresponding tem- perature in degrees Fahrenheit (F). The conversion formula
Twitter
WhatsApp
Facebook
Reddit
LinkedIn
Email
Link Copied!
Copy
Search QAmmunity.org