Answers for "see if month have 31 days or 30 days"

0

calendar check if month is 30 days

if( 0x0A50 & (1<<month) != 0 )
//(month==4||month==6||month==9||month==11) is perfectly ok
Posted by: Guest on July-01-2021
0

how many months have 31 days

#include <iostream>

int main {
  std:cout << "There are 7 months have 31 days which are Janurary, March, May, July 
  August, October and December and 4 months have 30 days wich are April, June, September and November and there is one month have 29 days wich is febuary";
}
Posted by: Guest on February-01-2022

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language