Horje
continue statement in c++ program Code Example
continue statement in c++ program
/*Q: Design a program to print the employee IDs from 1 to 15 and skip the
IDs 7 and 10 because they have resigned.*/
#include<iostream>
using namespace std;
int main()
{
	int meet=0;
	for(int i=1;i<=15;i++)
	{
		if(i==7||i==10)
			continue;
	cout<<"Employe ID="<<i<<endl;			
	}
}




Cpp

Related
idnefier cout in undefined Code Example idnefier cout in undefined Code Example
std vector random shuffle Code Example std vector random shuffle Code Example
opencv(4.1.2) /io/opencv/modules/imgproc/src/resize.cpp:3720: error: (-215:assertion failed) !ssize.empty() in function 'resize' Code Example opencv(4.1.2) /io/opencv/modules/imgproc/src/resize.cpp:3720: error: (-215:assertion failed) !ssize.empty() in function 'resize' Code Example
Linking OpenCV with cmake . Adding the installation prefix of "OpenCV" to CMAKE_PREFIX_PATH doesn't work Code Example Linking OpenCV with cmake . Adding the installation prefix of "OpenCV" to CMAKE_PREFIX_PATH doesn't work Code Example
waiting in a serial as the spool reflect the queue operation. Demonstrate Printer Behavior in context of Queue.Subject to the Scenario implement the Pop and Push Using C++. Code Example waiting in a serial as the spool reflect the queue operation. Demonstrate Printer Behavior in context of Queue.Subject to the Scenario implement the Pop and Push Using C++. Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
9