Quantcast
Channel: CodeChef Discuss - latest questions
Viewing all articles
Browse latest Browse all 40121

not able to submit code for test

$
0
0
#include <iostream>
using namespace std;

int main() {

    int n=0;

    while(true){

            cin>>n;

        if (!(n==42))

            cout<<n<<endl;


        else
            break;
        }
    return 0;
}

Viewing all articles
Browse latest Browse all 40121

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>