home
Learn
screen_rotation
#include <stdio.h> #include <conio.h> void main(){ float a; clrscr(); printf("Enter value of a: "); scanf("%f",&a);/* %.2f is used to print two decimal places. */ printf("\n value of a = %.2f",a); getch(); }
Program Output
Enter value of a: 212.4212 value of a = 212.42