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
11Alexandr11 [23.1K]
3 years ago
14

For which input values will the following loop not correctly compute the maximum of the values? 1. Scanner in = new Scanner (Sys

tem.in); 2. int max =
Computers and Technology
1 answer:
My name is Ann [436]3 years ago
8 0

Answer:

The answer is "Option d".

Explanation:

Please find the complete question in the attached file.

You might be interested in
Describe in detail how to determine if a source is credible when conducting research. Justify your response using two or more co
tangare [24]
There are many ways  to determine if the information is credible or not. One way is to ask yourself "Did the person or website list cites?"  Cites are good ways to determine if the information is credible or not or not.  Cites mean that you can prove where the information they are presenting came from.
8 0
3 years ago
How does the government is i.t to run the country?
sashaice [31]

Answer:

they use servers

Explanation:

4 0
3 years ago
X333: countElements Given an array of integers and an integer target, return a count of the number of times the target value occ
inn [45]

Answer:

The method written in java is as follows:

public static int countElements(int[] nums, int target){

    int count=0;

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

        if(nums[i] == target){

            count++;

        }

    }

    return count;

}

Explanation:

The method definition is not clear in the question you posted; so, I'll answer the question from scratch

This defines the method

public static int countElements(int[] nums, int target){

This initializes count to 0

    int count=0;

This iterates through the array

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

This checks if the current array element is same as the target

        if(nums[i] == target){

If yes, the count variable is incremented by 1

            count++;

        }

    }

This returns the count

    return count;

}

See attachment for complete program which includes the main

Download txt
5 0
3 years ago
#include
Aloiza [94]

Answer:

#include<studio.h>

#include<conio.h>

void main()

{

char ch;

printf("Enter any letter");

scanf("%c",&ch);

3 0
3 years ago
When you run your Windows Form application, what is the lifespan of a global variable (also known as a "field" or "class" variab
Goryan [66]

The lifespan of a global variable (also known as a "field" or "class" variable) exist only until any additional classes are initialized.

<h3>What is Windows form application?</h3>

Windows Forms is defined as a form of UI backbone that is often uused for creating Windows desktop apps.

It is known to help its user in a lot of ways to produce or make  desktop apps using  the visual designer given in Visual Studio. It has a lot of Functionality such as drag-and-drop placement of visual controls and others.

See full question below

When you run your Windows Form application, what is the lifespanof a global variable (also known as a “field” or “class”variable)?

a. during the initial click button event

b. global variables only exist if they are constants

c. only until any additional classes are initialized

d.as long as the form is running

Learn more about Windows  from

brainly.com/question/26420125

5 0
2 years ago
Other questions:
  • All spreadsheet formula should start with
    12·1 answer
  • Which technology uses regular phone lines and transmits at speeds up to 256 kbps?
    15·2 answers
  • What are some of the other operations that might be implemented for a queue?
    14·1 answer
  • You are setting up a desktop computer for an AutoCAD specialist who needs a minimum of 125GB of RAM. Which operating system belo
    6·1 answer
  • Assume that the myname.txt file is currently closed. write the code segment that opens the file without erasing it, write anothe
    13·1 answer
  • I have to writea piece of code to calculate the factorial of somewhat large numbers so the long long type won't suffize, so usin
    7·1 answer
  • An aircraft departs an airport in the mountain standard time zone at 1615 MST for a 2-hour 15-minute flight to an airport locate
    14·1 answer
  • Green Field county stadium is planning to conduct a cricket match between two teams A and B. A large crowd is expected in the st
    6·1 answer
  • 3.2 code practice question 2. Not in a rush.​
    15·1 answer
  • Anyone tell my answer.
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!