how to get long double ?

Write here if you have problems with your C source code

Moderator: Board moderators

Post Reply
sunnycare
Learning poster
Posts: 74
Joined: Tue Mar 08, 2005 2:35 am
Location: China , Shanghai

how to get long double ?

Post by sunnycare »

how to get and output long double ?
Cho
A great helper
Posts: 274
Joined: Wed Oct 20, 2004 11:51 pm
Location: Hong Kong

Post by Cho »

Code: Select all

long double x;
scanf("%Lf", &x);
...
printf("%Lf\n", x);
Post Reply

Return to “C”