subject

You have just started working for xyz solutions as a programmer. your first assignment is to review and correct various code so that you can become familiar with the company’s programs. the following code is not working properly. the message should display four times. what needs to be changed for the code to work properly? do while

a. intcounter < 5messagebox. show("ok")intcounter = intcounter + 1loopa.
b. intcounter = 1 should be added before the do statementb. intcounter = 0 should be added before the do statementc.
c. intcounter < 5 should be changed to intcounter = 5d.
d. intcounter < 5 should be changed to intcounter > 5

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 23:30
Show that there is a language a ⚆ {0, 1} â— with the following properties: 1. for all x â a, |x| ≤ 5. 2. no dfa with fewer than 9 states recognizes a. hint: you don’t have to define a explicitly; just show that it has to exist. count the number of languages satisfying (1) and the number of dfas satisfying (2), and argue that there aren’t enough dfas to recognize all those languages. to count the number of languages satisfying (1), think about writing down all the strings of length at most 5, and then to define such a language, you have to make a binary decision for each string about whether to include it in the language or not. how many ways are there to make these choices? to count the number of dfas satisfying (2), consider that a dfa behaves identically even if you rename all the states, so you can assume without loss of generality that any dfa with k states has the state set {q1, q2, . . , qk}. now think about how to count how many ways there are to choose the other four parts of the dfa.
Answers: 3
question
Computers and Technology, 22.06.2019 15:30
When creating a budget, log fixed expenses before income. after income. after savings. at the top.
Answers: 1
question
Computers and Technology, 23.06.2019 13:30
Select the correct answer from each drop-down menu. which types of computer networks are bigger as well as smaller than a man? a man is a network of computers that covers an area bigger than a , but smaller than a .
Answers: 1
question
Computers and Technology, 24.06.2019 11:00
In three to five sentences, describe how you can organize written information logically and sequentially
Answers: 1
You know the right answer?
You have just started working for xyz solutions as a programmer. your first assignment is to review...
Questions
question
Mathematics, 25.03.2021 21:30
question
English, 25.03.2021 21:30
question
Mathematics, 25.03.2021 21:30
question
Mathematics, 25.03.2021 21:30
question
English, 25.03.2021 21:30
Questions on the website: 13722359