| | |
plz help
![]() |
•
•
Join Date: Mar 2005
Posts: 3
Reputation:
Solved Threads: 0
well hi
Actually i have a school assignment and i need help with it
i have 2 ques which i am not able to solve so plz help me
Q1)create a program to find wether the entered year id leap or not?
Q2)write a program to find and print maximum and minimum from one dimensional arrays?
help plz
thanks
neha
Actually i have a school assignment and i need help with it
i have 2 ques which i am not able to solve so plz help me
Q1)create a program to find wether the entered year id leap or not?
Q2)write a program to find and print maximum and minimum from one dimensional arrays?
help plz
thanks
neha
•
•
Join Date: Jun 2005
Posts: 1
Reputation:
Solved Threads: 0
•
•
•
•
Originally Posted by coolgal_neha
well hi![]()
Actually i have a school assignment and i need help with it
i have 2 ques which i am not able to solve so plz help me
Q1)create a program to find wether the entered year id leap or not?![]()
Q2)write a program to find and print maximum and minimum from one dimensional arrays?![]()
help plz
thanks
neha
if(int(year/4)=year/4) then
year = leap year
you'll have to work the exact syntax.
Every 400 years (as in the year 2000, leap year is skipped to get closer to the actual solar date. -dz-
dz
•
•
Join Date: Jun 2005
Posts: 70
Reputation:
Solved Threads: 2
Like this?
always avoid complicated statements with too many brackets if you can
Give me a little more info about what you want to do in Q2
Visual Basic 4 / 5 / 6 Syntax (Toggle Plain Text)
Dim Leap As Boolean Sub FindLeapYear Dim Year As Long If Year/400 = Int(Year/400) Then Leap = False Exit Sub End If If Year/4 = Int(Year/4) Then Leap = True Else Leap = False End If End Sub
always avoid complicated statements with too many brackets if you can
Give me a little more info about what you want to do in Q2
![]() |
Similar Threads
- can someone plz help me with this? (Visual Basic 4 / 5 / 6)
- I NEED SUPPORT **"IMPORTANT"** PLZ HELP (Windows NT / 2000 / XP)
- Windows media player (Windows NT / 2000 / XP)
- Bridge.dll...Make it go away, Plz (Viruses, Spyware and other Nasties)
- can sum1 look @ dis plz (Viruses, Spyware and other Nasties)
- Hijackthis log file - plz help (Viruses, Spyware and other Nasties)
- IE not working...PLZ help :cry: (Web Browsers)
- PLZ help it's urgent! (Web Browsers)
- plz help ppl...... (Computer Science)
Other Threads in the Visual Basic 4 / 5 / 6 Forum
- Previous Thread: Accessing network share programmatically
- Next Thread: connect with access
| Thread Tools | Search this Thread |
* 6 429 2007 access activex add age application basic beginner birth bmp calculator cd cells.find click client code college component connection connectionproblemusingvb6usingoledb copy creat ctrl+f data database datareport date delete dissertations dissertationthesis dissertationtopic edit error excel excelmacro file filename form hardware header iamthwee image inboxinvb internetfiledownload keypress label listbox listview liveperson login looping machine microsoft movingranges number objectinsert open oracle password prime program prompt range-objects readfile reading record refresh remotesqlserverdatabase report save search sendbyte sites sort sql sql2008 sqlserver subroutine tags textbox time urldownloadtofile vb vb6 vb6.0 vba visual visualbasic visualbasic6 web window windows






