Star Patterns
C Program to Print an Double (Entered by the User)
C Program to Print an Double (Entered by the User)
#include <stdio.h> int main() { double x; printf("\n Enter x value:"); scanf("%lf",&x); printf("\n Display x value: %lf",x); return 0; }
Output:
Enter x value:897.543 Display x value: 897.543000 Process returned 0 (0x0) execution time : 7.233 s