We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
  • HackerRank Home

    HackerRank

  • |
  • Prepare
  • Certify
  • Compete
  • Hiring developers?
  1. Prepare
  2. C++
  3. Introduction
  4. For Loop
  5. Discussions

For Loop

Problem
Submissions
Leaderboard
Discussions
Editorial

    You are viewing a single comment's thread. Return to all comments →

  • nandini16chatte1
    2 months ago+ 0 comments

    include

    include

    using namespace std;

    int main() { int a,b,n; cin>>a>>b>>n; string arr[ ]={"one", "two" ,"three", "four" , "five", "six", "seven","eight", "nine"}; for(int n=a;n<=b;n++) { if(n<=9){ cout<9 && n%2==0){ cout<<"even"<

    return 0;
    

    }

    0|
    Permalink
  • Blog
  • Scoring
  • Environment
  • FAQ
  • About Us
  • Support
  • Careers
  • Terms Of Service
  • Privacy Policy