Tutorial 6 Exercises

  • Write a program that has a method called crossRiver that takes as an argument a double and it prints out "You forded the river" if the number is greater than 0.9, and says "Your oxen died" if the number is less than or equal to 0.9.

Like the site?
Let people know:
Digg! StumbleUpon
			Toolbar del.icio.us