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;
#question.to determine the area of a triangle,rectangle and trapezium
wap to calculatethe volume of cone,cylinderand sphere
WAP TO ACCEPT THE BASIC SALARY OF EMPLOYEES & CALCULATE NET SALARY #include stdio.h> #include conio.h> void main() { float Basi
Increment and Decrement Operators. The operator for increment is '++' and decrement is '-'. These operators enhances or decrease the value of a variable on which they are ope
write a program to accept ten numbers and display the total
Assume we wish to partition the square roots of the integers from 1 to 100 in to two piles of fifty numbers every, such that the sum of the numbers in the first pile is as close as
Write a program that does the following: Calculates the Velocity and Momentum of an object. The formula for the velocity is V=d/t and the formula Momentum is m=mass*velocity. Your
find the area of a curve y=f(x) between x=a and x=b integrate f(x) between limits a and b #include float start_point, /* GLOBAL VARIABLES */
input marks of c and c++ if c grater than equal to 50 grater than 50 you are pass if c greater than equal to 50 c++ less than 50 than supplementry c++ if c less then 50 and c++ gra
Where are longjmp and setjmp used in C++? -Setjmp and longjmp must not be used in C++. - Longjmp jumps out of the function without unwinding stack. This means that local obj
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