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
nirvana33 [79]
3 years ago
11

To use the rand()function, you must include the ________ header file? cstdlib iomanip iostream cstring cmath

Social Studies
1 answer:
Virty [35]3 years ago
8 0

Answer:

cstdlib              

Explanation:

            In programming language as in C or C++, the function rand() is used to generate a list random numbers. It we want to generate the sequence of random numbers with the rand() function, the program will try to create the same sequence of numbers again and again for every time the program is set to run.

            In order to use the rand() function is the program, we must include 'cstdlib' in the header file. This header is used to define many different general purpose functions which includes dynamic memory management, random number generation, etc.

You might be interested in
A heading eliminates the need for a transitional sentence such as "Let us now turn to the advantages of the mandatory enrollment
Citrus2011 [14]

Answer: True

Explanation: A transitional sentence acts as a link between two sentences or paragraphs. Let's assume you are writing about an enrollment process and you have defined the steps a person needs to take to be enrolled in the first paragraph. "Let us now turn to the advantages of the mandatory enrollment process." can act as a transitional statement in the second paragraph before you describe the advantages.

However, if there is a heading such as "The advantages of the mandatory enrollment process," this eliminates the need to use a transitional sentence as the reader already expects you to describe the advantages.

3 0
4 years ago
What is the average speed at 20seconds​
kondaur [170]

Answer:

Explanation:

If an object travels 50 meters in 10 seconds, it has an average speed of 50 meters/10 seconds, or 5 meters per second.

so it travels  at  100/20 mps

4 0
4 years ago
Read 2 more answers
Two of the reindeers are named after weather phenomenon. Name the reindeer.
mariarad [96]
Comet and Blitzen are the two reindeer you are looking for.
7 0
4 years ago
Read 2 more answers
Which is not a clause found in the 14th Amendment?
Elanso [62]
It does not contain the Literacy clause.
6 0
4 years ago
Do a magnets poles all have the same charge
ElenaW [278]


no one pole is negative and the other is positively charged


5 0
3 years ago
Read 2 more answers
Other questions:
  • 8. How did geography affect the growth of the triangular transatlantic slave trade?
    5·1 answer
  • The main reason that people make attributions that reflect the just world hypothesis is that these explanations
    9·1 answer
  • _______wanted people to study natural law and learn how they could live the way God wanted
    13·1 answer
  • A father tells his son, "i don't care whether you like it or not, you are going to clean your room!" the relational level of mea
    14·1 answer
  • As the subject of an experiment for treating cigarette addiction, john is being given a chemical agent that makes him feel nause
    6·1 answer
  • Which website should he choose for accuracy, credibility, and reliability?
    13·1 answer
  • How does the physical environment of the state of Nevada shape or influence where and how people live?
    15·1 answer
  • The opportunity cost of an item is
    9·1 answer
  • Which of the following people came from Wisconsin?
    11·2 answers
  • Amber took a mid-term exam in her history class. Her professor asked the class not to discuss their exams until all the grades w
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!