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
anygoal [31]
4 years ago
6

You are given an array x of string elements along with an int variable n that contains the number of elements in the array. You

are also given a string variable mode that has been declared. Assign to mode the mode value of the array. (Assume there are no "ties".)
Computers and Technology
1 answer:
jarptica [38.1K]4 years ago
6 0

Answer and Explanation:

Make an algorithm of that which include array x of string where Mode of the value of the array means that you have the values such that 1.2,4,2,6,7,8,2 so 2 is the value of set as it appears more than other number similarly when a array of x has been given.First of all initialize a variable then declare it . so for initialization create a variable .Let suppose i create a variable of add and initialize it with 0 and given a it data type integer then

int add= 0;  // declaration

int add[]=0; // declaration and initialization in array

class add {  

void main(String array[]){  

int add[]=0;//declaration and instantiation  

int add[] = new int [3];

add[0]=30;//initialization  

add[1]=80;  

add[2]=20;  

output the given array of string

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

cout <<add[i];

 }

Taking an other example let initialization and declare array of string and print the greater value.For this create a variable with integer data type \

class Test{  

void main(String[] array){  

       //declaration of array

int test[][] = new int [2];

test[0]; new int [2];

test[1]; new int [4];

for initialization of array lets take variable a with data type integer

      int a=0;  

//taking loop for condition

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

           for(int j=0; j<test[i].length; j++)  

//if the loops working properly then take increment in the variable a

               test[i][j] = a++;  

this process repeat until loops got false

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

           for(int j=0; j<test[i].length; j++)  

         cout<<test[i][j]<<"+"<<"";  

           }  

           System.out.println();

       }  

   }  

You might be interested in
Name the cell range selected in the given worksheet? <br>plzzz helppppp​
Monica [59]

Answer:

B2:E6,,,,,,,,,,,,,,,,

6 0
3 years ago
What are five features of word 2016 you would use to capture the attention of the target audience? Defend you decisions
Lyrx [107]
Here is my top 5:
1. Auto save feature. It's very important not to lose the writing when something happened to your computer while you were writing.
2. Synchronization with OneDrive. If something happened to your hard drive, you can backup your docs with OneDrive cloud.
3. You can view and edit PDF documents. Everyone needs it.
4. You can share your documents with other people and you can edit it together in online mode.
5. Improved "Red mode" which disables extra menus to view your documents.
5 0
3 years ago
Complete the statement below using the correct term.<br>Website managers use<br>every day​
Leni [432]

Answer:

computers

Explanation:

8 0
3 years ago
Read 2 more answers
What is the name of the national outreach project?
bagirrra123 [75]

Answer:

FCCLA should be the answer.

Explanation:

5 0
3 years ago
Why might a government entity choose to offer some information and services online as in e-government
harina [27]
My answer would be D, here is why: 

At the dawn of the information age, it became possible for American and other societies to be able to transfer information all over the world with just one click, this has increased laziness in our society dramatically. People these days are more likely not to go to a government office, then to just type a few characters. Going online helps government sectors to quickly spread the information they need to and make it "easier" for our citizens to file their paperwork. 

8 0
4 years ago
Read 2 more answers
Other questions:
  • When should you check to see that fuel lines, connections, and fuel vents are in good condition?
    7·1 answer
  • Convert the following binary numbers to decimal numbers. (Show your work) a. 110110 b. 100111 c. 101101
    6·1 answer
  • 4. What is the difference between portrait orientation and landscape orientation? (1.0 points)
    9·1 answer
  • Your mobile device has gone over its subscribed data limit the past two months. During this time, you have noticed that the devi
    15·1 answer
  • ____________ is a series of numbers that identifies a particular computer. They may or may not be a reliable way to link you to
    14·1 answer
  • Attributes of a website indicates a more reliable source of information
    14·1 answer
  • An object's state is defined by the object's
    6·1 answer
  • Give one reason why more people prefer to settle in areas of flat land than on steep slopes​
    8·2 answers
  • In every programming language, when you access data stored in an array, you must use a ____ containing a value that accesses mem
    15·1 answer
  • What can you achieve if you divide your search engine marketing account into relevant campaigns and ad groups?.
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!