Creating a simple person Object in Java - CrazyWhiz

preview_player
Показать описание


======================================================

======================================================

Рекомендации по теме
Комментарии
Автор

Challenge #4B

HOW MUCH PAINT WILL YOU NEED?
Paint all 4 walls and the ceiling.

Consider the following:

The room dimensions are 15’ by 10’
The ceiling height is 8’
There are two doors in this room. Doors are 21 sq. ft.
There are two windows in this room. Windows are 15 sq. ft.
One gallon of paint will cover 400 sq. ft.
Open Eclipse. Name your package “challenge4BPaint” and your class “PaintNeeded.” Write an application that will print the number of square feet that needs to be covered and the number of gallons of paint that you will need. Create a reusable code by using variables for storing values. Save your code according to your teacher’s directions.

usefultuber
Автор

Challenge #4C

GUMMI BEARS!!

Consider the following:

For the grad-night party, the senior class will have gummi bears atop their ice cream sundaes. Consider the following:

A package of gummi bears at Costco costs $6.99
There are 487 graduating seniors attending the party
It would be nice for there to be 13 gummi bears on each sundae
There are 227 gummi bears per package
Only 68% of the seniors will be eating sundaes
Open Eclipse. Name your package “challenge4BGummiBear” and your class “GummiBears.” Please print to the screen the number of bags of gummi bears we will need to buy, how many gummi bears will be left when we have given out the necessary bears, and the cost per “eating” senior for their gummi bears. Create a reusable code by using variables for storing values. Save your code according to your teacher’s directions.

usefultuber
visit shbcf.ru