Question: Ive been stuck on this for a while, i need help. If integer yearinHistory is 1815 , output 'Battle of Waterloo' Otherwise, output ' Not
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
Get step-by-step solutions from verified subject matter experts
