JJ logo

Lab 14

. War of 1812 Quiz using a boolean box

Write a quiz that asks what year was the War of 1812 fought
recognizing correct guesses
using a boolean box instead of an int box or a String box

----------------------------------------
Lab #14.1: Write a War of 1812 quiz using a boolean box
----------------------------------------

Write a program that asks your customer to guess
the year that the war of 1812 was fought.
Output an message reporting whether or not the
guess is accurate.  Store the user's guess in either an
int box or a String box, and also use a boolean box to
store whether or not the guess is accurate.  Use the
value in the boolean box as the condition in an if-
command in order to output the accuracy report.