#define leap year
void main()
{
enumeratedmonth{jan=1,
feb,
mar,
april,
may,
june,
july,
aug,
sept,
oct,
nov,
dec}
enumeratesd month month;
int day,days,a month
clrscr()
printf("enter no.of month");
scanf("%d",& a month);
switch(a month)
{
case jan:
case mar:
case may:
case aug:
case oct:
case dec:
printf(" no. of day=31"0;
days=31;
break;
case april:
case june:
case sept:
case nov:
days=30;
break;
default;
printf("wrong no.");
day=0;
}
if (day!=0)
printf("no. of days=%d/n",days);
if (a month==feb)
printf("29 if its a leap year");
getch();
}
Hi gys, are you looking to write a program to know the sign depends on the birth date or horoscope on python? write down following codes on python, those will make a nice program. #This program will get the horoscope sign. def getSign(): name = raw_input ("Enter Your Name: ") month = raw_input("Enter Birth Month: ") day = int(raw_input("Enter Birth Day of Month: ")) if month "y": main() letter = raw_input("Go again? (y/n): ")
DisplayMonth( int month ) //base 0 { switch( month ) { case 0: printf("January\n"); break; case 1: printf("February\n"); break; case 2: printf("March\n"); break; .... and so on } } enjoy
Depends on how much dedication and time you are giving If you give 100% 2 month
(Assume that each month is of 30 days) Example : Input - 69 Output - 69 days = 2 Month and 9 days */ classDayMonthDemo{ public static void main(String args[]){ int num = Integer.parseInt(args[0]); intdays = num%30; int month = num/30; System.out.println(num+" days = "+month+" Month and "+days+" days"); } }
A kWmonth, or kilowatt-month, is a unit of energy measurement that represents the consumption of one kilowatt of power over the span of one month. It is used to quantify electrical energy usage, often in the context of utility billing. To calculate kWmonths, you multiply the power in kilowatts by the number of hours in a month (typically about 730 hours). This unit helps consumers understand their energy consumption in relation to their electricity costs.
Write a C program called MonthDays to find the number of days in a given month Test your code with different input values to demonstrate that your function is robust?
Hi gys, are you looking to write a program to know the sign depends on the birth date or horoscope on python? write down following codes on python, those will make a nice program. #This program will get the horoscope sign. def getSign(): name = raw_input ("Enter Your Name: ") month = raw_input("Enter Birth Month: ") day = int(raw_input("Enter Birth Day of Month: ")) if month "y": main() letter = raw_input("Go again? (y/n): ")
i Have no Idea please someone tell me
11
vbcvbvbvcbc vbcvbvbvcbc
Seventeenth of the month.
how to write date month and year in metric notation
history
a script about nutrition month
Each question carries 10 marks. Explain the environment Division with example. Explain the Data Division with an example. Explain the various types of Move statements. Write a COBOL program to find a given integer is odd or even. An input file consists of the following Employee name, Employee number, Basic pay. Write a COBOL program to create an Indexed file which consists of Employee-name, Employee-number, Basic-pay and DA (DA = 25% of Basic-pay) Assume that an organisation has 20 departments. Each department has 5 stores. You are provided with total monthly sales of each stores for the month December 2000. Write a COBOL program to read the data, to write the sales report department wise and also write the total sales of the organisation.
You write out the month, put in the number of the day, and then the year. Example: December 5, 2005 It is generally better to write the month in words as countries use different formats for the day and month. Some place the day first, as in 5/12/2005 others the month first, 12/5/2005, this could cause confusion.
Americans write month before date because their date format is arranged in this way