Already have an account? Get multiple benefits of using own account!
Login in your account..!
Remember me
Don't have an account? Create your account in less than a minutes,
Forgot password? how can I recover my password now!
Enter right registered email to receive password!
The continue statement
The continue statement causes the next iteration of the enclosing loop to start. When this is encountered in the loop , the rest of the statements in the loop are leave out and control passes to the condition.
Let us see an example that accepts a variable amount of numbers from the keyboard and prints the sum of only positive numbers.
e.g.
void main()
{
int num, total = 0;
do
cout << " enter 0 to quit ";
cin >> num; // equivalent to scanf()
if(num == 0)
break;
if(num < 0)
continue;
total+=num;
}
while(1);
cout << total;
# include stdio.h> # include conio.h> # include math.h> void main () { int a=1,sqr=0,cube=0; clrscr (); while (a { sqr=pow(a,2); cube=pow(a,3);
What are the benefits of using friend classes? - Friend classes are useful when a class wants to hide features from users which are required only by another, tightly coupled cl
algorithm to find out all the factors of given positive integers
What is the specialty in sizeof() operator
can you tell me what is c#
Described the order that objects in an array is destructed?
how to compare one file with another file. comparison should be like first line of first file compare every line of second file until it gets a blank line starting from the top and
Consider a group of n robots, numbered R2D1 through R2Dn, and m tasks, numbered 1 through m. Tasks can be different and robots are specialized, hence a given robot can only perform
program and solution for the above question
recursive sub programs
Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!
whatsapp: +91-977-207-8620
Phone: +91-977-207-8620
Email: [email protected]
All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd