Welcome to Dream.In.Code
Getting VB Help is Easy!

Join 132,494 VB Programmers for FREE! Get instant access to thousands of VB experts, tutorials, code snippets, and more! There are 1,052 people online right now. Registration is fast and FREE... Join Now!




can you help me?

 
Reply to this topicStart new topic

can you help me?, give me some ideas...

al_buotan
post 1 Sep, 2008 - 05:15 AM
Post #1


New D.I.C Head

*
Joined: 8 Aug, 2007
Posts: 17


My Contributions


i badly need a codes about this output in the form...
it only accept 10 numbers..
then using any loopings..

1
-2
5
6
8
9
-2
-7
-4
6
The Number of positive number is 7 and
The Number of negative number is 3.

Hopefully you will help me!
God Bless†
User is offlineProfile CardPM

Go to the top of the page

AmitTheInfinity
post 1 Sep, 2008 - 05:53 AM
Post #2


C Surfing ∞

Group Icon
Joined: 25 Jan, 2007
Posts: 1,015



Thanked 34 times

Dream Kudos: 125
My Contributions


for iteration_no =0 to no_of_numbers
if array[iteration_no] is greater than 0 then
increment positive_numbers by 1
else
increment negative_numbers by 1
end of if block
end of for block

print positive_numbers
print negative_numbers


[Don't expect code from us till you come up with your efforts.]
I hope this will help you. smile.gif
User is offlineProfile CardPM

Go to the top of the page

al_buotan
post 2 Sep, 2008 - 03:24 AM
Post #3


New D.I.C Head

*
Joined: 8 Aug, 2007
Posts: 17


My Contributions


QUOTE(AmitTheInfinity @ 1 Sep, 2008 - 06:53 AM) *

for iteration_no =0 to no_of_numbers
if array[iteration_no] is greater than 0 then
increment positive_numbers by 1
else
increment negative_numbers by 1
end of if block
end of for block

print positive_numbers
print negative_numbers


[Don't expect code from us till you come up with your efforts.]
I hope this will help you. smile.gif



thanks all i lot.... i need only an idea.. thanks...it will help me a lot!
User is offlineProfile CardPM

Go to the top of the page

Fast ReplyReply to this topicStart new topic
Time is now: 11/22/08 04:59PM

Live VB Help!

VB Tutorials

Reference Sheets

VB Snippets

Bye Bye Ads

Free DIC T-Shirt

T-Shirt Example

Related Sites

Monthly Drawing

Thumb Drive

Partners

Top Contributors

Top 10 Kudos This Month