On Mon, Aug 18, 2008 at 4:13 PM, Jefferson Mendoza <[EMAIL PROTECTED]> wrote: > Sir what is the function for negative decimal? > > example -0.9292
> From: John Matthews <[EMAIL PROTECTED]>
[...]
> double deg;
[...]
> gotoxy(x,y + 1);printf("Enter degrees: ");
> scanf("%lf", °);
> getchar(); /* getchar takes care of the line feed character */
The scanf will take positive or negative numbers.
--
PJH
http://shabbleland.myminicity.com/sec
