bool thereIsNoGod = 1;
for(int i=0, int j=0, i<infinity && j<infinity)
{
print “There is no god.”
while (thereIsNoGod)
{
print “There is no God! Enter 1 if this is true. Enter 0 if this is false.”
cin thereIsNoGod;
if (thereIsNoGod)
{
j ++;
i++;
}
else
{
i++;
}
}
if( (i – j) > 0))
{
print “There is no God”;
print j + ” out of ” + i + “people say so!”;
}
else
{
print “ATLASII, get me a phone number.”
for( int k = 0, array phoneNumbers; k ++; k < phoneNumbers.length())
{
print phoneNumbers[k];
}
}
Abort/Retry/Fail
Leave a Reply
You must be logged in to post a comment.