Computers and Technology
Computers and Technology, 19.10.2020 22:01, fffcc8759

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.

answer
Answers: 3

Other questions on the subject: Computers and Technology

image
Computers and Technology, 23.06.2019 18:00, joybeth9591
What can a word user do with the customize ribbon dialog box? check all that apply. minimize the ribbon add a new tab to the ribbon remove a group from a tab add a group to a tab choose which styles appear choose which fonts appear choose tools to appear in a group
Answers: 1
image
Computers and Technology, 24.06.2019 11:00, airbenderjermai
Need fast im timed in a paragraph of 125 words, explain at least three ways that engineers explore possible solutions in their projects.
Answers: 2
image
Computers and Technology, 24.06.2019 12:00, log40
Jack is assisting his younger sibling mary with her mathematics assignment, which includes a study of the number system. jack explains to mary that whole numbers are counting numbers that could be used to record the number of fruits in a basket. which data type represents whole numbers? a. integers. b.floating-point numbers. c. strings. d.boolean
Answers: 1
image
Computers and Technology, 24.06.2019 15:00, firdausmohammed80
Universal windows platform is designed for which windows 10 version?
Answers: 1
Do you know the correct answer?
This program will get you used to retrieving a value from a function. The function should be named g...

Questions in other subjects: