Created
July 26, 2017 14:15
-
-
Save lazyakshay/e8137a3f97a80e332734d4a1e2c7dc16 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
using namespace std; | |
int main() | |
{ | |
int n; | |
scanf("%d",&n); | |
while(n!=42) | |
{ | |
printf("%d\n",n); | |
scanf("%d",&n); | |
} | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment