Give the function prototype (without parameter names) for each of the following:

a) Function hypotenuse that takes two double-precision, floating-point arguments, side1 and side2, and returns a double-precision, floating-point result.
b) Function smallest that takes three integers, x, y and z, and returns an integer.
c) Function instructions that does not receive any arguments and does not return a value. [Note: Such functions are commonly used to display instructions to a user.]
d) Function intToDouble that takes an integer argument, number, and returns a double precision, floating-point result.


a) double hypotenuse( double, double );
b) int smallest( int, int, int );
c) void instructions();
d) double intToDouble( int );

Computer Science & Information Technology

You might also like to view...

A consumer removes a value by calling Queue method_________ .

a) dequeue. b) remove. c) get. d) None of the above.

Computer Science & Information Technology

The ______ serve as a guideline for protecting personal privacy in regard to international trade.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

Answer the following statements true (T) or false (F)

1. An advantage of Ajax is that the entire Web page does not need to be reloaded to obtain new data. 2. Common types of sorted bias include alphabetic, chronological, and cost. 3. An executive uses a dashboard to review performance measures and to take action if the information on the screen calls for it. 4. Dashboards are small programs that reside either in a sidebar attached to a browser or program or even reside in a special layer on the desktop itself.

Computer Science & Information Technology

____ is a full-featured word processing program that allows you to create many types of personal and business documents.

A. OneNote B. Word C. Communicator D. PowerPoint

Computer Science & Information Technology