Step 1 Declare and initialize variable like dd, mm, yy, n.
Step 2 Enter number of days in each month in array days[]. Step 3 Input the date in dd, mm ,yy, and number of days in n. Step 4 Add number of days as dd+n. Step 5 Begin a while loop with the condition dd>days[m]. Step 6 Initialize d as dd=dd-days[m] and add 1 to mm. Step 7 Check if mm>12 then add 1 to y and initialize 1 to mm. Step 8 Print the future date. END
ALGORITHM
Step 1 Declare and initialize variables like dd, mm, yy, n.
Step 2 Enter number of days in each month in array days[]. Step 3 Input the date in dd,mm,yy, and number of days in n. Step 4 Subtract number of days as dd-n. Step 5 Begin a while loop with the condition dd<1. Step 6 Subtract 1 to mm. Check if m=0 then Subtract 1 to yy and initialize mm=12. Step 7 Add days [mm] to dd. Step 8 Print the date.
This project is completed
by me, I Yash Yagwani of class XII. In making this project I have taken help of computer book COMPUTER APPLICATIONS, notes given by our computer teacher & my friends and family members. I would like to thank all of them & a very special thanks to my computer teacher Asif sir whose guidance was like an oasis in the desert to me.
This project file is based on Java
Programming in which I have clearly depicted 50 programs including their outputs and algorithm with the help of BLUEJ. This file includes java programs on Function, Array, String etc. Any kind of criticism in making this file more attractive & materialistic is totally acceptable.
Thank you, Yash Yagwani
This project is completed
by me, I SHRANKHLA SINGH of class XII. In making this project I have taken help of computer book COMPUTER APPLICATIONS, notes given by our computer teacher & my friends and family members. I would like to thank all of them & algorithm very special thanks to my computer teacher Asif sir whose guidance was like an oasis in the desert to me.
This project file is based on Java
Programming in which I have clearly depicted 50 programs including their outputs and algor with the help of BLUEJ. This file includes java programs on Function, Array, String etc. Any kind of criticism in making this file more attractive & materialistic is totally acceptable.