1 Replies - 1387 Views - Last Post: 08 April 2010 - 09:13 AM Rate Topic: -----

#1 code4alinh   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 08-April 10

Algorithm and C++ code

Posted 08 April 2010 - 09:10 AM

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 )

Is This A Good Question/Topic? 0
  • +

Replies To: Algorithm and C++ code

#2 PsychoCoder   User is offline

  • Google.Sucks.Init(true);
  • member icon

Reputation: 1659
  • View blog
  • Posts: 19,853
  • Joined: 26-July 07

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.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1