About Syed Adeel Rizvi Expertise I can answers questions regarding web based and desktop based programming in VB.Net. Which can include XML, Custom Controls + Computer Hardware and Windows Turboshooting...etc.
More Skills :
1 . PHP - > All Type Of CMS e.g. (Joomla,Drupul,PHPNuke...etc)
2 . ASP
3 . ASP.Net
4 . CMS
5 . MySql
6 . SQl Server 2000 & 2005
7 . Ms Access
8 . Web Designing
9 . Networking Turboshooting
10 . Windows Turboshooting
11 . Hardware Turboshooting
All Type Of Work Related To IT
I also Do Work as a Freelance as Application & Web Developer & Designer
Experience i have 3 years work experience in software house and 4 years work experience for computer hardware and Networking..
Question I know there are a lot of resources out there but I just figured there has to be some one here that can help...
My user chooses a number between 1 and 10.
He then gets to choose that amount of random numbers
example - user chooses 5, he/she is prompted by an input box to enter 5 random numbers 1 at a time.
the 5 numbers are stored in a listbox.
How can I average the numbers the user has chosen?
I am a beginner and you can probably tell. I'm not sure how to convert them and if I need a loop or not?
Answer Hello tim,
u need average of all 5 numbers ? if yes then simply do that
make a varible
dim totalno as long
for i as long = 0 to listbox1.items.count - 1
totalno += listbox1.items(i).tostring
next i
now put the average formula like e.g.
'msgbox (totalno / 100) just put the correct average formula here ok