spoj life and universe
#include<iostream>
using namespace std;
int main()
{
int a;
cin>>a;
while(a!=42)
{
cout<<a<<"\n";
cin>>a;
}
return 0;
}
#include<iostream>
using namespace std;
int main()
{
int a;
cin>>a;
while(a!=42)
{
cout<<a<<"\n";
cin>>a;
}
return 0;
}
No comments:
Post a Comment