answersLogoWhite

0


Best Answer

#include<stdio.h>

#include<conio.h>

int date,year;

printf(''enter date and year"0;

scanf(%date,%year);

if(year%4==0)

{

date=(date+31)-29;

pf(''march month of");

pf(%d,date);

}

else

{

date=(date+31)-28;

pf(''march month of");

pf(%d,date);

}

}

pf(%d,date);

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Write a program to find out a date after adding 31days to a date in the month of february?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Write a program adding 2 plus 2 in c program?

#include &lt;stdio.h&gt; int main (void) { puts ("4"); return 0; }


Is there a program to write protect a harddrive so that the disk may remain untouched maybe one that is portable and can be started after boot up?

im not sure of a program you can encrypt your data by compressing all of your data and adding a password


Write the word in which the consonant was doubled before adding -ing?

Write the word in which the consonant was doubled before adding -ing.


Highlight the steps involve in writing a functional program?

Consult or think about the requirements; plan the general design; write your program; test it; correct and test (probably several times) until it works.In a larger project, you will probably do the above for each individual component at a time, i.e., you will be adding components gradually.Consult or think about the requirements; plan the general design; write your program; test it; correct and test (probably several times) until it works.In a larger project, you will probably do the above for each individual component at a time, i.e., you will be adding components gradually.Consult or think about the requirements; plan the general design; write your program; test it; correct and test (probably several times) until it works.In a larger project, you will probably do the above for each individual component at a time, i.e., you will be adding components gradually.Consult or think about the requirements; plan the general design; write your program; test it; correct and test (probably several times) until it works.In a larger project, you will probably do the above for each individual component at a time, i.e., you will be adding components gradually.


When do you need to write zero as a placeholder when adding and subtracting decimals?

Adding decimal same as adding whole numbers


How to write program for secant method in mathematica?

How to write a program for secant method by mathematica


Write a program in Lex to eliminate white space and collect numbers as a token?

write a lex program to delete space from the program


How do you write Square program using vb?

write a vb program to find the magic square


Write a program to multiply 33 matrix.?

write a program to multily 3*3 matrix.


Would you Write c plus plus program using array for Fibonacci number?

You can write a C++ fib pro using arrays but the problem is the prog becomes very complicated since u need to pass the next adding value in an array.....


Write a program to illustrate the usage of pointers with arrarys and functions?

* * * * * * * * * * write the c++ program and show me brifily?


Write a program to create a maze?

this is to write or create