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
scZoUnD [109]
3 years ago
15

This program will get you used to retrieving a value from a function. The function should be named getRandomNumber. The function

should return a single random integer from 1 to 100. From within main, you will declare an integer variable named rnd. Then you will assign a value into rnd from the getRandomNumber function. After you have done this, you will use a printf and show the random number that was returned. The prograrm should be named GetRandom--don't forget to rename main.c to GetRandom.c before turning in.
In this program you will create a function that returns PI. The function should be named getPI that returns a float. From within main, declare a float named myPI. Assign myPI from the getPI function. Then use printf to show the value that you got.
Computers and Technology
1 answer:
Sati [7]3 years ago
6 0
Adhdubsus. Wish sheets
You might be interested in
Which of the following is NOT a strength of monetary policy?
ipn [44]

your answer is b to the question


6 0
4 years ago
You can use the bash shell to redirect standard output or standard error from the terminal screen using the ____ shell metachara
Vlad1618 [11]
You can use the > (greater than) symbol
3 0
3 years ago
Which of the following commands would instruct OSPF to advertise ONLY the 192.168.10.0/24 network in Area 0?
xz_007 [3.2K]

Answer:

First, you need to start the OSPF process by executing the command:

<em>Router (config)# router ospf {process-ID#}</em>

Then, you have to instruct the router to advertise the networks that are directly linked to it by entering this network command with the area ID number for that network:

Router (config-router)# network {192.168.10.0} {255.255.255.0} area {0}

8 0
3 years ago
A) What is the maximum value that can be represented as an unsigned n-bit binary integer?
My name is Ann [436]

Answer:

The maximum value that are represented as unsigned n -bit binary integer is 2^n-1. The unsigned binary integer refers to the fixed point of the system that does not contain any fractional digits.

The unsigned binary integer contain module system with the power 2. The number of student table in the class is the best example of the unsigned integer. The numbers can be represented by using the binary notation and bits in the computer system.

5 0
3 years ago
What is another name for mesolithic age
Romashka-Z-Leto [24]
In archaeology, mesolithic is culture between paleolithic and neolithic. The term "Epipaleolithic" is often used for areas outside northern Europe, but was also the preferred synonym used by French archaeologists until the 1960s.
7 0
3 years ago
Read 2 more answers
Other questions:
  • Robert needs to apply formatting from one set of text to multiple other sets of text throughout the document. Which option shoul
    7·1 answer
  • It is a function that ends the connection to the database.
    9·2 answers
  • What is encyclopedia. Com considered to be?
    14·1 answer
  • If Chris has a car liability insurance, what damage would he be covered for
    10·1 answer
  • A _________________ operating system accepts random enquires from remote locations and provides an instantaneous response
    5·1 answer
  • Supporting mobility and smartphone apps is important to MasterCard. What challenges does MasterCard face in rolling out smartpho
    11·1 answer
  • If someone wanted to talk to a financial institution representative in person they would need to _____.
    5·1 answer
  • Can someone please give me timetable managment system with data structures in java?
    11·2 answers
  • the current food label has been in place for 20 years. the fda has proposed changes to this label for a variety of reasons, such
    7·1 answer
  • Create a timeline of the evolution of computers and their impact on society
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!