| | |
visual basic 1
Please support our Visual Basic 4 / 5 / 6 advertiser: Programming Forums - DaniWeb Sister Site
![]() |
•
•
Join Date: Oct 2009
Posts: 13
Reputation:
Solved Threads: 0
9. Create an application that will predict the approximate size of a population organisms. The user should select or enter the starting number of organisms in a combo box, enter the average daily population increase (as a percentage) in a text box and select or enter the number of days the organisms will be left to multiply in another combo box. For example, assume the user enters the following values:
Starting number of organisms: 2
Average daily increase: 30%
Number of days to multiply 10
The application should display th following table of data.
Day Approximate Population
1 2
2 2.6
(table should list values up to 10 days)
Be sure to add appropriate ToolTips for each control on the form.
Input validation: Do not accept a number less than 2 for the starting size of the population. Do not accept a negative number for the average daily population increase. Do not accept a number less than 1 for the number of days the organisms will multiply.
Starting number of organisms: 2
Average daily increase: 30%
Number of days to multiply 10
The application should display th following table of data.
Day Approximate Population
1 2
2 2.6
(table should list values up to 10 days)
Be sure to add appropriate ToolTips for each control on the form.
Input validation: Do not accept a number less than 2 for the starting size of the population. Do not accept a negative number for the average daily population increase. Do not accept a number less than 1 for the number of days the organisms will multiply.
•
•
Join Date: Oct 2009
Posts: 13
Reputation:
Solved Threads: 0
•
•
•
•
Okay, we can see what your homework requirements are but what we cannot see is which part you are having a problem with. Where is your question on what part of that you are having a problem with?
Good Luck
u need think before u act.
•
•
Join Date: Mar 2009
Posts: 901
Reputation:
Solved Threads: 167
1
#6 Oct 27th, 2009
>u need think before u act
You need to know how to spell, and use correct grammer!
By the way. What were you thinking posting your question four times? Did you not think before you took action or did you just (removed by me because anything I say from here is just too mean)...
To answer your question on how to calculate 30%...
Good Luck
You need to know how to spell, and use correct grammer!
By the way. What were you thinking posting your question four times? Did you not think before you took action or did you just (removed by me because anything I say from here is just too mean)...
To answer your question on how to calculate 30%...
Visual Basic 4 / 5 / 6 Syntax (Toggle Plain Text)
Result = Value * .3
Good Luck
If anyone has helped you solve your problem, please mark your thread as solved.
Thanks
Thanks
![]() |
Similar Threads
- Playing .Wav/MIDI files in a Visual Basic Program (Visual Basic 4 / 5 / 6)
- Creating an OS in visual basic 6.0 (Visual Basic 4 / 5 / 6)
- The Move.....Visual Basic 6, Visual Basic .NET ? (VB.NET)
- Encrypting a Visual Basic application (Visual Basic 4 / 5 / 6)
- passing arrays in visual basic (Visual Basic 4 / 5 / 6)
- Visual Basic.net (VB.NET)
Other Threads in the Visual Basic 4 / 5 / 6 Forum
- Previous Thread: Select Printer From List
- Next Thread: VB Simple Tasks with simple code
Views: 312 | Replies: 5
| Thread Tools | Search this Thread |
Tag cloud for Visual Basic 4 / 5 / 6
* 6 2007 access activex add age append application basic beginner birth bmp c++ calculator cd cells.find click client code college column 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 listview liveperson login looping machine microsoft movingranges number objectinsert open oracle password prime program prompt range-objects readfile reading record refresh remotesqlserverdatabase report retrieve save search sendbyte sites sort sql sql2008 sqlserver struct subroutine table tags textbox time timer urldownloadtofile vb vb6 vb6.0 vba visual visualbasic visualbasic6 web window windows





