Solved

general

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
VB6 Compile Compatibility Issue 4 88
How to debug this code 7 56
Error when passing an argument to a vb6 that contains  '/' 7 31
Add and format columns in vb6 7 46
There is an easy way, in .NET, to centralize the treatment of all unexpected errors. First of all, instead of launching the application directly in a Form, you need first to write a Sub called Main, in a module. Then, set the Startup Object to th…
Having just graduated from college and entered the workforce, I don’t find myself always using the tools and programs I grew accustomed to over the past four years. However, there is one program I continually find myself reverting back to…R.   So …
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.

914 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now