/* More help!
To Print your values then a function printf() can be you used
like */.
Printf("You are lucky that Am bored this sat morning that i decided to do your
home work \n");
/* And to capture the input use scanf();
e.g */
scanf("%s", &help);
printf("The day you will get a programming job you will hate me for doing your
hw");
JB.
--- On Fri, 11/14/08, shivani gupta <[EMAIL PROTECTED]> wrote:
From: shivani gupta <[EMAIL PROTECTED]>
Subject: Re: [c-prog] Please Help
To: [email protected]
Date: Friday, November 14, 2008, 6:36 AM
i ll tell u the logic to be used:
for the to be odd, it shudnt be divisible by 2
and to be positive no. , it has to be greater than 0;
now try making the program..
and mail us... if it still give errors...
--- On Fri, 11/14/08, Brett McCoy <[EMAIL PROTECTED] com> wrote:
> From: Brett McCoy <[EMAIL PROTECTED] com>
> Subject: Re: [c-prog] Please Help
> To: [EMAIL PROTECTED] com
> Date: Friday, November 14, 2008, 6:51 PM
> On Fri, Nov 14, 2008 at 6:14 AM, Reepak
> <reepakkumarmajhi@ yahoo.co. in> wrote:
> > Solve the Following question?
> >
> > write a C++ program to input a number.If the number n
> is odd and
> > positive,print its square root otherwise print
> n*n*n*n*n.
>
> Do your own homework!
>
> -- Brett
> ------------ --------- --------- --------- --------- --------- -
> "In the rhythm of music a secret is hidden;
> If I were to divulge it, it would overturn the
> world."
> -- Jelaleddin Rumi
[Non-text portions of this message have been removed]