I've Been Sick For 2 weeks, couldn't attend the lectures , but I still have to submit this assignment . Hope someone can help .
Draw a flowchart and write the algorithm and C++ code to accomplish the following:
1-Sum the odd integers between 1 and 99 using a for structure.
2-The factorial of a number N using a for structure . Given that N factorial is defined as N!=1*2*3*....*(N-1)*N
3-Given a set of N integers in one dimensional array, the program should sort the integers in the array in an ascending order(smallest to largest )
Algorithm and C++ code
Page 1 of 11 Replies - 743 Views - Last Post: 08 April 2010 - 09:13 AM
Replies To: Algorithm and C++ code
#2
Re: Algorithm and C++ code
Posted 08 April 2010 - 09:13 AM
Sorry but we can not give you the entire code to solve your problem. We are here to assist in solving problems with code you have written, with any error messages you are getting or what isn't working the way that you expect it to, we would be more than happy to help you with those problems. If there is a topic that you don't understand we would be more than happy to help you with that as well. Make sure to post any code with in code tags like below.
Be sure to visit our tutorial and snippet areas or read the FAQS at the top of the forums. Also, take a moment to read the rules about posting topics.
Thank you for helping us to help you solve your problem.
Be sure to visit our tutorial and snippet areas or read the FAQS at the top of the forums. Also, take a moment to read the rules about posting topics.
Thank you for helping us to help you solve your problem.
Page 1 of 1
|
|

New Topic/Question
Reply




MultiQuote



|