Solved

general

Posted on 2008-10-29
2
234 Views
Last Modified: 2012-05-05
4 requirements for successful finite recursion
4 requirements for successful finite loop

what are they. please and thank you.
0
Comment
Question by:elrayiss
2 Comments
 
LVL 10

Accepted Solution

by:
c0ldfyr3 earned 125 total points
ID: 22839989
Is this homework?

Start Point, End Point, Incremental Counter and check each recursive call.

Start Point, End Point, Incremental Counter and check each loop iteration.

These are just guesses.


In the below, 0 is the start point, 10 is the end point, x is the counter and Vb automaticaly checks x <= 10 each loop iteration. In c you would add the check yourself as is displayed below also...
'Example VB Loop with 4 points.'
 
For X = 0 To 10
    'Do Stuff'
Next
 
 
 
'Example C Loop with 4 points.'
for ( int x = 0; x <= 10; x++ )
{
    // Do Stuff
}

Open in new window

0
 

Author Closing Comment

by:elrayiss
ID: 31511485
good
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

The purpose of this article is to demonstrate how we can use conditional statements using Python.
Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

785 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question