Top baner Big

Your Ad Here

Top Banner

Your Ad Here

Saturday, November 22, 2008

No of lines....

/*Program : No of lines....
Programmer ::fizmhd(MEA) www.mdown.co.cc*/

#include
int main()
{
int c=0,line=0;
while (c!=-1)
{
c=getchar();
if (c=='\n')
line++;
}
printf("no of lines = %d\n",line);

}

No comments:

Easy Hits

EasyHits4U.com - Your Free Traffic Exchange - 1:1 Exchange Ratio, 5-Tier Referral Program. FREE Advertising!

Bottom Square