Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

general

Posted on 2008-10-29
2
243 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
mapAB Challlenge 35 156
what is the main difference between git clone and fetch ann pull and push commands 2 101
Problem to error 4 67
fso.FolderExists("\\server\HiddenFolder$") 4 78
This article will show, step by step, how to integrate R code into a R Sweave document
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.

861 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