C Programming Awareness and Practice
A Student Effort .... By Shshank Singhal Ajmer, Rajasthan, India
Pages
HOME
BASIC
RECURSION
ARRAY
STRINGS
CONVERSIONS
Q. Square Root of a no. ?
THE OUTPUT WOULD BE
#include<stdio.h>
#include<conio.h>
#include<math.h>
void main( )
{ clrscr( );
float n;
printf("Enter the value of n = ");
scanf("%f",&n);
printf("Squart Root of %.1f = %.2f",n,sqrt(n));
getch( );
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment