☰
d2jsp
Rules
Help
Forum Gold FAQ
Live Streams
Photo Gallery
Hourly Raffle
Ladder Slasher
Log In
Register
Log In
Register
Account Recovery
Resend Validation Email
d2jsp Forums
>
Off-Topic
>
Computers & IT
>
Programming & Development
> Help Plz! C++ Ppl > Inside
Add Reply
New Topic
New Poll
Views: 176
Replies: 4
Track Topic
emopker2
Member
Posts: 2,881
Joined: Nov 3 2009
Gold
:
1,378.00
#1
Oct 21 2012 02:15pm
i have a little trouble with my c++ program i need for school. can some1 help me? here is da problem:
The main program will call a function named howmanypositive, sending it the three integer values. The function will determine how many (0, 1, 2, or 3) of the three values are positive (greater than zero) and send the answer back to the main program. The answer sent back will be a number from 0 to 3.
how do i type in this function?o.O
AbDuCt
Member
Posts: 13,425
Joined: Sep 29 2007
Gold
:
0.00
Warn: 20%
#2
Oct 21 2012 02:21pm
ill give you the answer if you give me a fg donation (ill give you the solution first if you agree)
else post what you are having troubles with.
emopker2
Member
Posts: 2,881
Joined: Nov 3 2009
Gold
:
1,378.00
#3
Oct 21 2012 02:22pm
Quote (AbDuCt @ Oct 21 2012 03:21pm)
ill give you the answer if you give me a fg donation (ill give you the solution first if you agree)
else post what you are having troubles with.
will 4 fg be enough?
AbDuCt
Member
Posts: 13,425
Joined: Sep 29 2007
Gold
:
0.00
Warn: 20%
#4
Oct 21 2012 02:24pm
Quote (emopker2 @ Oct 21 2012 04:22pm)
will 4 fg be enough?
yea sure why not. pm me
emopker2
Member
Posts: 2,881
Joined: Nov 3 2009
Gold
:
1,378.00
#5
Oct 21 2012 02:27pm
Quote (AbDuCt @ Oct 21 2012 03:24pm)
yea sure why not. pm me
TY! having so much struggle with this stupid part of da hw, keep thinking of using else if statements, but doesnt really make sense when i do the intergers like a,b,c with && or ||
Go Back To
Programming & Development
Topic List
Add Reply
New Topic
New Poll
© 2003-2026 d2jsp
Contact