Solved: A Java program that tells how many in a specific month…

$30.00

Category:

Description

Solved: A Java program that tells how many in a specific month…

Write a Java program that tells how many days are in a specific month. Your program should ask the user for an integer representing the current month. Tell the user how many days are in that month. When the user has requested February ask whether or not the current year is a leap year, and display a 28 or 29 accordingly. In this program you must use if statements (not a switch) and compound logical expressions.


error: Content is protected !!