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;
We can combine more than one variable on the same line i.e. float number1,number2,number3; etc Sometimes we want to mix the variable types used on the same line, this could
decoding message
write a program to find the area under the curve y=f(x) between x=a & x=b
2-D Array- C program: Define a two dimension array using c. void convert ( int a[10][10] , int[] , int , int); void main() { clrscr(); int a[10][10], b[10
A: The inline keyword tells the compiler to substitute the code in the function de_nition for each instance of a function call. Though, substitution takes place only at the compile
Normal 0 false false false EN-IN X-NONE X-NONE MicrosoftInternetExplorer4
there is a pebble merchant. he sells the pebbles,that are used for shining the floor.his main duty is to take the length of the room side but he sometines mistakes doing that and m
how to write the code for operation research
A palindrome is a string that reads the same from the both the ends. Given a string S convert it to a palindrome by doing character replacement. Your takes is to convert S to palin
planning the solution
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