1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
dusya [7]
4 years ago
15

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
Computers and Technology
1 answer:
shepuryov [24]4 years ago
6 0

CORRECT QUESTION:

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 programsThe 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 intCounter < 5

MessageBox.Show("OK")

intCounter = intCounter + 1

Loop

A. intCounter = 1 should be added before the Do statement

B.intCounter = 0 should be added before the Do statement.

C. intCounter < 5 should be changed to intCounter = 5.

D. intCounter < 5 should be changed to intCounter > 5

Answer:

A) intCounter = 1 should be added before the Do statement

Explanation:

The variable intCounter is used to determine how many times the loop will iterate. setting it to 1 and stating the while condition to be less than five means the while loop will iterate 1,2,3,4 times and then stop since the condition says less than 5.

You might be interested in
A data dictionary is sometimes described as "the database designer's database" because it records the design decisions about tab
MrRa [10]

Answer:

True is the correct answer for the above questions.

Explanation:

  • A data dictionary is used to hold the structure and definition of the database. It is because it is used to hold information about the database or operational database.
  • It is a set of schema through which the user can understand the structure of the database. It can be used to define the metadata also. The metadata detailed the data of a database.
  • The above question-statement also wants to states about the same which is described above which is the definition of the data dictionary. Hence it is a true statement.
4 0
3 years ago
Which of the following is step 5 of the mail merge process?
slamgirl [31]
I think that the answer is b
8 0
4 years ago
Read 2 more answers
Unless you specify otherwise, excel summarizes data by ____.
Lilit [14]
Unless you specify otherwise, excel summarizes data by  summing numeric data and counting data fields containing text.
<span> The most commonly used ways to </span><span>summarize data in excel are: pivot tables, autosum, sort, selection....
</span>
4 0
3 years ago
9.17 LAB: Acronyms An acronym is a word formed from the initial letters of words in a set phrase. Write a program whose input is
AlexFokin [52]

Answer:

Hence the code is given as follows,

import java.util.Scanner;

public class LabProgram {

   public static String createAcronym(String userPhrase){

       String result = "";

       String splits[] = userPhrase.split(" ");

       for(int i = 0;i<splits.length;i++){

           if(splits[i].charAt(0)>='A' && splits[i].charAt(0)<='Z')

               result += splits[i].charAt(0);

       }

       return result;

   }

   public static void main(String[] args) {

       Scanner scan = new Scanner(System.in);

       String s = scan.nextLine();

       System.out.println(createAcronym(s));

   }

}

6 0
3 years ago
The music is the soul who says this
Crazy boy [7]

Question:the music is the soul who says this

Answer: Arthur Schopenhauer

Explanation: he says music is the language of feeling and of passion

question answered by

(jacemorris04)

4 0
3 years ago
Other questions:
  • Study the editorial cartoon Participation in Youth Sports Down by Dan Landgren Jr.
    6·2 answers
  • What does CPL stand for
    9·2 answers
  • . Write a statement that throws an IllgalArgumentException with the error message Argument cannot be negative.
    11·1 answer
  • ​________ is the scientific​ collection, examination,​ authentication, preservation, and analysis of data held on or retrieved f
    15·1 answer
  • Kayla is working on a document for her business meeting. She wants to save this document with another name. Which option should
    5·1 answer
  • Negative glue effects
    8·1 answer
  • How long does it take rblx to re open deleted acc
    8·2 answers
  • The first form of the rocket is believed have been developed in _?
    14·2 answers
  • Which retouching action is unethical?
    8·1 answer
  • The list listOne is a sorted list of numbers that contains 700 elements. The list listTwo is a sorted list of numbers that conta
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!