Find out the errors in the following
int sum ( int n)
{
if ( n == 0 )
return 0;
else
n + sum( n - 1 );
}
Answers
Answered by
1
Answer:
Find out the errors in the following
int sum ( int n)
{
if ( n == 0 )
return 0;
else
n + sum( n - 1 );
}
Answered by
1
Answer:
Thunderstorm, a violent short-lived weather disturbance that is almost always associated with lightning, thunder, dense clouds, heavy rain or hail, and strong gusty winds. Thunderstorms arise when layers of warm, moist air rise in a large, swift updraft to cooler regions of the atmosphere.
Similar questions
Political Science,
1 month ago
Math,
1 month ago
Chemistry,
4 months ago
History,
10 months ago
Math,
10 months ago