Recent Posts

9-latest-250px-course

Write a C program for Implementation of formula : c = √ a

Write a C program for Implementation of formula : c = √ a



Program:-     

#include <stdio.h>

#include <conio.h>

#include <math.h>

   void main()

{

int a, P;

clrscr();

printf("Enter the value of a ");

scanf("%d",&a);

P= sqrt(a);

printf("%d",P);

getch();

}

Output:-

input:-
Enter the value of a, b
a=10
b=2
output:-
20
24
SHARE

Milan Tomic

Hi. I’m Designer of Blog Magic. I’m CEO/Founder of ThemeXpose. I’m Creative Art Director, Web Designer, UI/UX Designer, Interaction Designer, Industrial Designer, Web Developer, Business Enthusiast, StartUp Enthusiast, Speaker, Writer and Photographer. Inspired to make things looks better.

  • Image
  • Image
  • Image
  • Image
  • Image
    Blogger Comment
    Facebook Comment

0 comments:

Post a Comment