hi members...please help me about this code...the sum code is like the attachment below...
kaka_shi
0
Newbie Poster
Recommended Answers
Jump to PostOK... so you're basically asking us to do your homework. Basically, the function takes 2 parameters, adds them together, and returns the result. Here's some pseudocode:
sum: number1, number2 { return number1 + number2 }
And basically if you can't figure that out, you seriously need to …
Jump to PostIf I remember my calculas correctly (mind you its been over 35 years), problem 1 is asking you to calculate the sum of all the numbers between 0 and some maximum value, that you will probably enter from the keyboard. If that is true, your program will need an integer …
All 6 Replies
John A
1,896
Vampirical Lurker
Team Colleague
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
kaka_shi
0
Newbie Poster
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
kaka_shi
0
Newbie Poster
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.