
|
|

General Forum: Offbeat n Jokes | Quiz | |
| yes simple gane kanipisthundhi raghu garu....mee dhaggara enni years calenders vunnaye?????
Posted by: Mrs. Aruna At: 18, Jun 2003 8:44:34 AM IST Niel Bohr ---) Raghothama rao garaa...
Posted by: Mr. M.S.Reddy At: 18, Jun 2003 8:42:29 AM IST watching mode lo vunnaru...hahaha
Posted by: Mrs. Aruna At: 18, Jun 2003 8:36:40 AM IST watiching mode lo vunnaru...hahaha
Posted by: Mrs. Aruna At: 18, Jun 2003 8:36:32 AM IST yes benerjee...
Posted by: Mr. M.S.Reddy At: 18, Jun 2003 8:36:26 AM IST ok already sreeni garu vunnaraa??
Posted by: Mr. benerjee At: 18, Jun 2003 8:33:34 AM IST Hello krishna garoo.
this is the answer given by Sreenivasareddy garu..
Hi guys ok let me post my answer
If anybody knows better answet than this are more easy way to find out please post...
let n be the number of days between the given dates...
if (startdate=sat)
n=n+5;
a=0;
else if startdate=sunday)
n=n+6;
a=-1;
endif
number of weekends=mod(n,7) * 2 + a;
Posted by: Mr. Sreenivasa Reddy Munnangi At: 11, Jun 2003 4:39:26 PM IST
Posted by: Mr. benerjee At: 18, Jun 2003 8:32:28 AM IST let n=number of days between the given dates
[implelemnt logic for finding n considering the leap year and months]
then
if (startdate=sat)
n=n+5;
a=0;
else if startdate=sunday)
n=n+6;
a=-1;
endif
number of weekends=mod(n,7) * 2 + a;
Posted by: Mr. M.S.Reddy At: 18, Jun 2003 8:32:17 AM IST Sreeni meeru help cheyyagalaru anukuntanu gokul krishna gaariki.....lehda Information tecnology lo sreeni gari arthemetic choosi try cheyyandee....
Posted by: Mrs. Aruna At: 18, Jun 2003 8:26:16 AM IST I want some one to tell me how to find the number of weekends between 2 given dates...
I also do not know this answer.. but i want it.. can any one help
Posted by: Mr. Gokul Krishna Addanki At: 17, Jun 2003 8:12:48 PM IST
|
|
|
 |
Advertisements |
|
 |
 |
Advertisements |
|