Computers and Technology

What is wrong with the following pseudocode?

Declare Count As Integer

Declare TheNumber As Integer

Set TheNumber = 12

For (Count = 10; Count>TheNumber; Count--)

Write TheNumber + Count

End For

The loop will never be entered since the initial value of Count is less than the test condition
The limit condition in a For loop cannot be a variable
A counter must start at 0 or 1
The loop will never end since the test condition will never be met

answer
Answers: 2

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 08:30, marialuizavalen
Today is the anniversary of me being on yet, i don't need it anymore! here's a picture of my dog wearing a bowtie! my question is, how do i delete my account?
Answers: 1
image
Computers and Technology, 23.06.2019 15:10, cathyjuan
What role did women fill during world war ii?
Answers: 1
image
Computers and Technology, 24.06.2019 00:10, roxymiller3942
Read each statement below. if the statement describes a peer-to-peer network, put a p next to it. if the statement describes a server-based network, put an s next to it. p - peer-to-peer s - server-based
Answers: 1
image
Computers and Technology, 24.06.2019 17:40, HealTheWorld
Write a program that begins by reading in a series of positive integers on a single line of input and then computes and prints the product of those integers. integers are accepted and multiplied until the user enters an integer less than 1. this final number is not part of the product. then, the program prints the product. if the first entered number is negative or 0, the program must print “bad input.” and terminate immediately
Answers: 2
Do you know the correct answer?
What is wrong with the following pseudocode?

Declare Count As Integer

Decl...

Questions in other subjects:

Konu
Chemistry, 31.03.2020 18:20
Konu
Mathematics, 31.03.2020 18:20
Konu
Mathematics, 31.03.2020 18:20