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

Join 136,404 VB Programmers for FREE! Get instant access to thousands of VB experts, tutorials, code snippets, and more! There are 2,416 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
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
+Quote Post

AmitTheInfinity
RE: Can You Help Me?
1 Sep, 2008 - 05:53 AM
Post #2

C Surfing ∞
Group Icon

Joined: 25 Jan, 2007
Posts: 1,025



Thanked: 35 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
+Quote Post

al_buotan
RE: Can You Help Me?
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
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 12/2/08 11:45AM

Live VB Help!

VB Tutorials

Reference Sheets

VB Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month