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
Inessa05 [86]
3 years ago
6

Write a program that reads in an array of type int . you may assume that there are fewer than 50 entries in the array. your prog

ram determines how many entries are used. the output is to be a two-column list. the first column is a list of the distinct array elements; the second column is the count of the number of occurrences of each element. the list should be sorted on entries in the first column, largest to smallest.
Computers and Technology
1 answer:
Alla [95]3 years ago
7 0
This may be a difficult thing to do so for anyone to ACTUALLY answer this you migghttt want to up the amount of points you get for answering maybe, 20-40 points.
You might be interested in
Read the excerpt from The Code Book. Other attacks include the use of viruses and Trojan horses. Eve might design a virus that i
antiseptic1488 [7]

Answer:

Tell about an experience with a computer virus.

Explanation:

Simon Singh's "The Code Book," tells the history of how cryptography came into being and the secret messaging world of encryption. Through the detailed narration and diving into the history of encryption, the author traces the evolution of such a process and reveals how it has had a huge impact on the world's policies.

In the given excerpt, Singh gives an example of how viruses are planted and used to spy/ get access to other people's computers. But while it is possible to get the main point of the example, <u>it would have been better if the writer includes experience with a computer virus</u> so that readers will find it easier to connect with the given example. This will enable them to better understand the working of viruses and their effects.

Thus, the correct answer is the first option.

3 0
3 years ago
In this lab, you open a file and read input from that file in a prewritten C program. The program should read and print the name
Bezzdna [24]

Answer:

#include <stdio.h>

#include <string.h>

void main( )

{

array flowerProp[2];

FILE *fp; // file pointer

char flower[255]; // creating a char array to store data

fp = fopen("flowers.dat","r");

if (fp == NULL){

   printf("File flower.dat does not exist");

   return;

}

// assuming the growing condition is next line to the flower name.

while(fscanf(fp, "%s", flower)!=EOF){

   flowerProp.push(flower);

   if (flowerProp.length == 2){

       printf("%s: %s\n ", flowerProp[0], flowerProp[1]);

       memset(flowerProp, 0,0);

   }

}    

fclose (fp );

}

Explanation:

The algorithm creates a pointer to the memory location to the file starting position, the character size is used to get a string from the file line by line. Then it opens and checks if the file exists.

If the file exists, the while gets the name and growth condition of the flower, saves it to an array, prints the name and condition, and clears the array for the next flower type in the loop.

5 0
3 years ago
Which best describes what a bibliography includes?
juin [17]
Bibliography includes the lists or sources of books,articles etc.
6 0
3 years ago
A database with a(n) _______________ data structure can easily handle a many-to-many data relationship. hierarchical network rel
AlexFokin [52]
Hello <span>Jeffstephens124</span><span>


Answer: A database with a(n) network data structure can easily handle a many-to-many data relationship. 

Hope this helps
-Chris</span>
3 0
4 years ago
Your reputation and credibility will be immediately destroyed if your website contains?
lora16 [44]

Answer:

B

Explanation:

8 0
3 years ago
Read 2 more answers
Other questions:
  • Explain the difference between an Internet draft and a proposed standard
    11·2 answers
  • What are sums of money that are given out for specific reasons?
    5·2 answers
  • When at the rightmost cell in a row, press the ENTER key to move to the first cell in the next row; do not press the TAB key
    6·1 answer
  • FREE POINTS JUST ANSWER MY LATEST TWO QUESTIONS PLEASE
    10·2 answers
  • In a certain computation, 90% of the work is vectorizable. Of the remaining 10%, half is parallelizable for an MIMD machine. Wha
    9·1 answer
  • The physical parts of the computer that you can see and touch are called______.
    5·1 answer
  • Which can be used to decode a Unicode character encoding into text?
    13·1 answer
  • Specialization of computer engineering ?<br>​
    7·1 answer
  • Priortization is an example of a skill that helps you reach long term goals because
    14·1 answer
  • HELP PLEASE!!!!!!!!!<br> Please fix the coding! thanks I give brainliest
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!