to check whether a number is divisible by 5 and 11 or not.

#include<iostream>

using namespace std;


int main()

{

int number;

cout << "Enter Number to Check whether Divisible by 5 and 11 =  ";

cin >> number;

((number % 5 == 0 ) && ( number % 11 == 0 )) ?

cout << "Given number "<< number << " is Divisible by 5 and 11" :

cout << "Given number "<< number << " is Not Divisible by 5 and 11";

  return 0;

}