Checkout
checkout
view
Your Cart Your Cart: item(s)
View Details $1.99 Download Add to Cart

Programming Problems (types)

Write a program that, given the amount of a purchase and the amount received in payment, computes the change in dollars, half-dollars, quarters, dimes, nickles, and pennies.

Subject:

Computer Science

Topic:

Other

Posting ID:

31572

OTA ID:

104632

View Details $1.99 Download Add to Cart

Programming Problems

The shipping clerk at the Rinky Dooflingy Company is faced with the following problem: Dooflingies are very deilicate and must be shipped in special containers. These containers are available in the four sizes huge, large, medium, and small, which can hold 50, 20, 5, and 1 dooflingy, respectively. Write a program that reads the number of dooflingies to be shipped and displays the number of huge, large, medium, and small containers needed to send the shipment in the minimum number of containers and with the minimum amount of wasted space. Use constant definitions for the number of dooflingies each type of container can hold. The output should be similar to the following: Container ... click for more

Subject:

Computer Science

Topic:

Other

Posting ID:

31573

OTA ID:

104632

View Details $1.99 Download Add to Cart

Operations and Expressions

Write a program to read the lengths of the two legs of a right triangle and to calculate and display the area of the triangle (one-half the product of the legs) and the length of the hypotenuse (square root of the sum of the square of the legs).

Subject:

Computer Science

Topic:

Other

Posting ID:

31574

OTA ID:

104632

View Details $1.99 Download Add to Cart

Operations and Expressions

In a certain region, pesticide can be sprayed from an iairplane only if the temperature is at least 70 degrees, the relative humidity is between 15 and 35%, and the wind speed is at most 10 miles per hour, Write a program that accepts three numbers representing temperature, relative himidity, and wind speed; assigns the value true or false to the boolean vairable okToSpray according to these criteris; and displays this value.

Subject:

Computer Science

Topic:

Other

Posting ID:

31575

OTA ID:

103000

View Details $1.99 Download Add to Cart

How to write C/C++ library functions for Time conversions?

Construct a library Time that contains the time-conversion functions (given a number of seconds, returns the equivalent number of minutes; given the number of minutes, returns the equivalent number of hours; given the number of hours, returns the equivalent number of days; given the number of seconds, returns the equivalent number of days). Write a driver program to test your library.

Subject:

Computer Science

Topic:

Other

Posting ID:

31576

OTA ID:

103644

Page generated in 0.1025 seconds

About Us ·  Contact Us ·  Samples ·  Solutions ·  Legal Terms and Conditions ·  Privacy Policy

©2008 SolutionLibrary.com

Search for Solutions About Us Samples