python 2.6

print 'India will win the World Cup 2010'

On Mon, Mar 28, 2011 at 8:45 PM, Praveen Kumar <praveen97...@gmail.com>wrote:

> Here is the correct program :
>
> #include<iostream>
> using namespace std;
>
> int main()
> {
>        while(true)
>        {
>              cout<<"India will win the World Cup 2010"<<endl;
>        }
>
> return 0;
>
>
> }
>
>
> On Mon, Mar 28, 2011 at 8:42 PM, Praveen Kumar <praveen97...@gmail.com>wrote:
>
>> true is a keyword representing 1 and false as 0. The program will print
>> the line a single time.
>>
>> On Mon, Mar 28, 2011 at 11:13 AM, balaji a <peshwa.bal...@gmail.com>wrote:
>>
>>> the code will give error as there is nothing called "true" defined.....
>>>
>>> On Sun, Mar 27, 2011 at 10:38 PM, Umer Farooq <the.um...@gmail.com>wrote:
>>>
>>>> Hi,
>>>>
>>>> Can anyone tell me the output of the following code?
>>>>
>>>> #include <iostream.h>
>>>>
>>>> int main()
>>>> {
>>>> ...... if (true)
>>>> .............. cout << "Pakistan will win the WorldCup 2011\n";
>>>> ........return 0;
>>>> }
>>>>
>>>> --
>>>> Umer
>>>>
>>>> --
>>>> You received this message because you are subscribed to the Google
>>>> Groups "Algorithm Geeks" group.
>>>> To post to this group, send email to algogeeks@googlegroups.com.
>>>> To unsubscribe from this group, send email to
>>>> algogeeks+unsubscr...@googlegroups.com.
>>>> For more options, visit this group at
>>>> http://groups.google.com/group/algogeeks?hl=en.
>>>>
>>>
>>>
>>>
>>> --
>>> A.Balaji
>>>
>>>
>>>  --
>>> You received this message because you are subscribed to the Google Groups
>>> "Algorithm Geeks" group.
>>> To post to this group, send email to algogeeks@googlegroups.com.
>>> To unsubscribe from this group, send email to
>>> algogeeks+unsubscr...@googlegroups.com.
>>> For more options, visit this group at
>>> http://groups.google.com/group/algogeeks?hl=en.
>>>
>>
>>
>  --
> You received this message because you are subscribed to the Google Groups
> "Algorithm Geeks" group.
> To post to this group, send email to algogeeks@googlegroups.com.
> To unsubscribe from this group, send email to
> algogeeks+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/algogeeks?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To post to this group, send email to algogeeks@googlegroups.com.
To unsubscribe from this group, send email to 
algogeeks+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.

Reply via email to