C++ Program To Find Age Between 40 To 60

Problem :- Write A Program To Check Age Between 40 To 60 Using IF/Else Statement .

Logic :- Put a condition That Age should be Between 40 to 60
Condition is (age<=60)&&(age>=40) See for more Geeksforgeeks Solution For " Average " .

Solution :-

using namespace std;
int main()
    int age;
    //By-Ghanendra Yadav
    int i,count=0;
    cout<<"Enter The Age Of 10 People\n";
         else continue;
  cout<<"The Age Between 40 to 60:"<<count<<endl;;
  return 0;


C++ Program To Find Age Between 40 To 60

Ghanendra Yadav

Ghanendra Yadav

Hello, I Am Ghanendra Yadav Owner of This Blog, I am professional Blogger and Programmer. I Love Programming, Logo Making, And Banner Designing. My Highest Qualification is MCA From NIT Warangal. You Can Find Me On Social Media Through Below Link And If You Have Any Query Related To Programming And Other Subject Comment Below or You Can Mail Me I Will Try To Answer Within 24 Hours Email:- yghanendra@student.nitw.ac.in

Find me on Social Media

Facebook | Twitter | Google+ | RSS Feed

No comments:

Post a Comment