Question: Ive been stuck on this for a while, i need help. If integer yearinHistory is 1815 , output 'Battle of Waterloo' Otherwise, output ' Not

 Ive been stuck on this for a while, i need help.
Ive been stuck on this for a while, i need help.

If integer yearinHistory is 1815 , output 'Battle of Waterloo' Otherwise, output ' Not battle of Waterloo'. End with a newline: Ex If the input is 1815 , then the output is: Battle of Waterloo import java.util. Scanner; public class Ifflse public static vold nain(string[] args) ( scanner scon - nex scanner (System. in); int yearInHistory; yearinhistory - scarinextint(): y * your code goes here % 11 13)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!