Thursday, September 28, 2017

Which of the following cricket teams are not directly qualified for the ICC Cricket World Cup 2019?




     answer : West Indies

Explanation:
Recently Sri Lanka has qualified for the ICC Cricket World Cup 2019 after West Indies lost the first ODI against England at Old Trafford on September 19, 2017. With this, Sri Lanka has become the eighth and last team to qualify directly, joining Australia, Bangladesh, England, India, New Zealand, Pakistan and South Africa. Now, West Indies will progress to the 10-team ICC Cricket World Cup Qualifier 2018, where they will be joined by the bottom three sides on the ICC ODI team rankings – Afghanistan, Zimbabwe and Ireland as well as the top four sides from the ICC World Cricket League Championship and the top two sides from the ICC World Cricket League Division 2. The top two sides from the World Cup Qualifier will complete the 10-team line-up for the ICC Cricket World Cup 2019, which will be played in United Kingdom (UK) from 30 May to 15 July.

Tuesday, September 19, 2017

How to Download all e-paper any Language (कोई भी न्यूज़ पेपर किसी भी भा...



  • Learn how to download any news paper(e-paper) in PDF
  • You can download news paper in any language, any state and any city in the PDF.
  • You can also download any supplement that comes with the news paper.
  •  Read and download any book and magazine
    -Learn how to help with this video






Monday, September 18, 2017

17)WAP to enter any number and check it is armstrong No or not. in CPP



Program




#include

#include

class armstrong

{

int n,no,r,c;

public:

palindrom()

{ r=0;

}

void getdata()

{
cout<<"\n\t\t Enter Number:";

cin>>no;

}

void putdata()

{ c=no;

for( ;no>=1; )

{

n=no%10;

r=r+(n*n*n);

no=no/10;

}

if(c==r)

{

cout<<"\n\t\t A Number Is Armstrong !!";


}

else

{

cout<<"\n\t\t A Number Not Armstrong !!";

}

}

};

void main()

{

clrscr();

armstrong p1;

p1.getdata();

p1.putdata();

getch();

}


-------------------------------Output---------------------------



Enter Number:153

A Number Is Armstrong !!



Thursday, March 2, 2017

(20)Write a Program to display prime no between 1 to N number in CPP

#include<iostream.h>
#include<conio.h>
class primen
{
 int a,n,no,c,m;
 public:
  void insert();
  void display();
  };
  void primen::insert()
  {
   cout<<"\n\t\tEnter Number:";
   cin>>m;

  }
  void primen::display()
  {
  a=1;
   while(a<=m)
   {
    c=0;
    no=a;
    n=1;
    while(n<=no)
    {
     if(no%n==0)
     {

       c=c++;
      }
      n++;
    }
    if(c==2)
    {
     cout<<a;
    }
    a++;
    }

}

void main()
{
 clrscr();
 primen pp;
 pp.insert();
 pp.display();
 getch();
 }

(19) Wap to display Armstrong No between 1 To N Number in Cpp


#include<iostream.h>
#include<conio.h>
class armstrongn
{
       long int m;
       int a,n,r,c,no;
       public:
              void getdata();
              void putdata();
};
void armstrongn :: getdata()
{
       cout<<"\n\t\t Enter Number : ";
       cin>>m;
}
void armstrongn :: putdata()
{
       a=1;
       while(a<=m)
       {
              no=a;
              c=no;
              r=0;
              while(no>=1)
              {
                     n=no%10;
                     r=r+(n*n*n);
                     no=no/10;
              }
              if(c==r)
                     cout<<r<<"  ";
              a++;
       }
}
void main()
{
       clrscr();
       armstrongn r1;
       r1.getdata();
       r1.putdata();
       getch();
}
v  Output
Enter Number : 1000
1 153 370 371 407


(18)Write a programm to display palindrom No between 1 To N Number in CPP


v  Program

#include<iostream.h>
#include<conio.h>
class palindromn
{
       int a,n,m,r,c,no;
       public:
              void getdata();
              void putdata();
};
void palindromn :: getdata()
{
       cout<<"\n\t\t Enter Number : ";
       cin>>m;
}
void palindromn :: putdata()
{
       a=1;
       while(a<=m)
       {
              no=a;
              c=no;
              r=0;
              while(no>=1)
              {
                     n=no%10;
                     r=(r*10)+n;
                     no=no/10;
              }
              if(c==r)
                     cout<<r<<"  ";
              a++;
       }
}
void main()
{
       clrscr();
       palindromn r1;
       r1.getdata();
       r1.putdata();
       getch();
}
v  Output
Enter Number : 30
1 2 3 4 5 6 7 8 9 11 22


Tuesday, February 28, 2017

 (17)Write a program to enter any number and check it is armstrong No or not in Cpp

vProgram

#include<iostream.h>
#include<conio.h>
class armstrong
{
  int n,no,r,c;
  public:
    palindrom()
    { r=0;
    }
    void getdata()
    {
     cout<<"\n\t\t Enter Number:";
    cin>>no;
    }
    void putdata()
    {        c=no;
      for( ;no>=1; )
      {
       n=no%10;
       r=r+(n*n*n);
       no=no/10;
      }
      if(c==r)
      {
      cout<<"\n\t\t A Number Is Armstrong !!";

      }
      else
      {
       cout<<"\n\t\t A Number Not Armstrong !!";
      }
     }
  };
  void main()
  {
   clrscr();
   armstrong p1;
   p1.getdata();
   p1.putdata();
   getch();
 }
vOutput:

Enter Number:153
A Number Is Armstrong !!