Search : in
By :

C program

Last answer on Nov 19, 2009 3:08:58 am GMT bulle, on Mar 1, 2009 12:17:00 am GMT 
 Report this message to moderators

Hello,
how to find squire root in c program?

Configuration: Windows XP
Firefox 3.1

Best answers for « c program » in :
Change the default installation folder C: \ Program Files Show Change the default installation folder C: \ Program Files The installation of most software programs are set by default in the C: \ Program Files. Below is a means of how to change into another partition. Under Windows Vista, select...
Error loading C:\PROGRA~1\MYWEBS~1\bar\5.bin\M3PLUGIN>DLL Show Error loading C:\PROGRA~1\MYWEBS~1\bar\5.bin\M3PLUGIN>DLL Issue Solution Note Issue I need help for error Error loading C:\PROGRA~1\MYWEBS~1\bar\5.bin\M3PLUGIN>DLL Solution To solve: Please click on Start, Click on Run and type the...
[C Language] finding the square root of a number Show[C Language] finding the square root of a number Intro Notes Intro A simple C program allowing you to find the square root of a number. #include #include int main(void) { double x = 4.0, result;...
Compiling a program in C with Dev C++ on Vista ShowCompiling a program in C with Dev C++ on Vista Compiling a C source code under Vista with Dev C++, can be a quite difficult procedure. Quick solution: the g++ compiler To be used with Dev-PSV: Go to Tools/compiler options and...
Secure data entry in C ++ ShowSecure data entry in C ++ Using get () Using "getline ()" Remove go to newline without using getline () Sometimes when creating a program, it is needed that additional information from the user must be enterd. In C++...
Programming languages ShowProgramming language A "programming language" is a language designed to describe a set of consecutive actions to be executed by a computer. A programming language is therefore a practical way for us (humans) to give instructions to a...
Windows - Diagnostic tools ShowAccessing diagnostic tools On the Desktop, when you right-click on a drive and go to Properties, the "Tools" tab gives you access to three tools: Defragmenter (c:\windows\defrag.exe) Scandisk (c:\windows\command\scandisk.exe) Backup (c:\program...
Representation of real numbers and integers ShowRepresenting a number in a computer Representing (or encoding) a number means to express it in binary form. Representing numbers in a computer is necessary in order for it to be able to store and manipulate them. However, the problem is that a...

1

xpcman, on Mar 1, 2009 2:52:11 am GMT
  • +2

It's a function "sqrt"

Reply to xpcman

5

gorbe, on Apr 19, 2009 7:12:53 pm BST
  • +1

Sqrt is a function and when u put a number such as"n"sqrt give u __
\/n

Reply to gorbe

2

ann, on Mar 1, 2009 10:05:23 am GMT
  • +3

Hi,there are many computer ebooks free download.

[url=http://www.51cnnet.net]free ebook download/url

such as:c++,csharp,adobe,ajax,asp.net,head-first,java,linux,my sql,oracle,perl,ruby,rails,python,acess,visual basic

Reply to ann

3

TECH, on Apr 8, 2009 6:22:40 am BST
  • +8

Here is sample program

#include <math.h>
#include <stdio.h>

int main(void)
{
double x = 4.0, result;

result = sqrt(x);
printf("The square root of %lf is %lf\n", x, result);
return 0;
}

visit http://hubpages.com/_eknow/hub/Turn-Your-PC-Keyboard-to-Musical-Keyboard for great C program.

Reply to TECH

4

ericssionz, on Apr 19, 2009 6:15:04 pm BST
  • +1

#include<iostream.h>
#include<conio.h>
#include<math.h>
void main()
{
clrscr();

float a,b;
cout<<"ENter the number"<<"\n";
cin>>a;
b=sqrt(a);
cout<<"the square root is"<<"\n";
cout<<b;
getch();
}

Reply to ericssionz

6

GirlTech1, on Apr 26, 2009 9:45:06 pm BST
  • +1

This is a C++ program, not a C program.

Reply to GirlTech1

7

ericssionz, on May 12, 2009 4:33:38 am BST

This is not pure c++ program and if you have little bit of common sense then you can understand by changing the header file to <iostream.h> to <stdio.h>

Reply to ericssionz

8

 rock, on Nov 19, 2009 3:08:58 am GMT
  • +1

Sir i want to download c programing not c++ which can run by dos to develop other programe

Reply to rock