Welcome to Dream.In.Code
Getting C++ Help is Easy!

Join 136,413 C++ Programmers for FREE! Get instant access to thousands of C++ experts, tutorials, code snippets, and more! There are 2,425 people online right now. Registration is fast and FREE... Join Now!




guess the series

 
Reply to this topicStart new topic

guess the series, and output the fifth number

lorelie
15 Oct, 2008 - 05:52 AM
Post #1

New D.I.C Head
*

Joined: 14 Oct, 2008
Posts: 6

help me please
how could i generate code to a machine problem
that will deduce 5th number in the sequence, given
4 input nos.
i need to identify what type of logic deduction was done.

example cases:

GIVEN: 11,23,35,47 ans: 59 reason: increment 12

GIVEN: 12,29,33,50 ans: 54 reason: +1+0

GIVEN: 12,13,13,14 ans: 14 reason: +17+4
User is offlineProfile CardPM
+Quote Post

jjsaw5
RE: Guess The Series
15 Oct, 2008 - 06:45 AM
Post #2

I must break you
Group Icon

Joined: 4 Jan, 2008
Posts: 1,404



Thanked: 6 times
Dream Kudos: 125
Expert In: HTML, CSS, Database,

My Contributions
Dream.In.Code has a policy by which we prefer to see a good faith effort on your part before providing source code for homework assignments. Please post the code you have written in an effort to resolve the problem, and our members would be happy to provide some guidance. Be sure to include a description of any errors you are encountering as well.

Please post like this:

Thank you for helping us helping you.
User is online!Profile CardPM
+Quote Post

Reply to this topicStart new topic
Time is now: 12/2/08 12:38PM

Live C++ Help!

C++ Tutorials

Reference Sheets

C++ Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month