Question about Operating Systems

2 Answers

C code code to give the output square root of an entered number without using library function math.h

Posted by on

2 Answers

  • Level 2:

    An expert who has achieved level 2 by getting 100 points


    An expert that got 5 achievements.


    An expert who has written 50 answers of more than 400 characters.


    An expert who has answered 200 questions.

  • Expert
  • 202 Answers
Re: c code

I don't know why u  asked for such a small problem.

This is the code. (works with TC++ v3) Have it. Enjoy :)

U may write on it to have a better output with some other datatype, if u want...


float a, b, tmp;

void rooter()
if(tmp!=b) rooter();

void main()
printf("\n\n\n\t\t\t***********SQUARE ROOT OF A NUMBER***********\n\nPlease enter the number\t: ");

Posted on Jan 24, 2008

  • Level 1:

    An expert who has achieved level 1.


    An expert that has over 10 points.


    An expert whose answer got voted for 2 times.

    Problem Solver:

    An expert who has answered 5 questions.

  • Contributor
  • 11 Answers
Re: c code - Operating Systems

Sqrt value will do for u

Posted on Jan 24, 2008

Add Your Answer

0 characters

Uploading: 0%


Complete. Click "Add" to insert your video. Add


3 Points

Related Questions:

1 Answer

What is the square root of 2?

About 1.414. It's the number that when multiplied by itself produces 2.

May 09, 2014 | Operating Systems

3 Answers

Acer Aspire One Netbook D260A.Windows XP not booting. Message Reads Windows could not start because the following file is missing or corrupt. Windows Root System 32 Hal dll No recovery disc or USB...

Sometimes you can get the needed .dll file online, and manually place it on that drive, of course in the correct directory.To do this, you need a functioning computer and you hook up the hard drive with the problem VIA USB. You can get USB Hard drive adapters from most retailers.

You may want to extract all data before you do anything, just in case. Have you been doing backups????

Usually, you reinstall the OS to resolve this issue, but without disks, not so easy to do.

Feb 03, 2011 | Operating Systems

1 Answer

I have installed nokuntu in kubuntu 10.10 but when it starts it prompts for root password but the graphical interface is grey and doesnt respond to mouse clicks

Nice to hear you try to use mi application!! In fact you must enter yopur password first to unlock the options of the application because some functions on it need to be executed in root mode (for example mount the phone over USB to access data). Yo can use the programa without enter the password but this functions are limited (the program don do anything except use it to make some specific functions, don´t save it or send it).
Thanks again and if you have other problem you can send me an e-mail to

Dec 04, 2010 | Operating Systems

1 Answer

Where is the symbol of square root or cube root on my PC?

There is NO square root symbol on ANY pc keyboard ( unless its a specially made scientific numberpad integrated keyboard).
You will have to use the windows character map in you menu to find the symbol.

Aug 28, 2010 | Operating Systems

2 Answers


above int main () you will want "using namespace std;" without quotes. Under that, "int main ()" without quotes, then a [ bracket to start the main function.
Please rate, thanks!

Mar 16, 2009 | Operating Systems

1 Answer

In c language can i print my name without using semicolons???

you need to use an endline function when outputting to the screen, example:
cout << "my name" << endl;

Mar 02, 2009 | Microsoft Windows XP Professional

1 Answer

Programming problem...

Hi Tulsi,
offcourse you can do it. But for this you must have knowledge of assembly programming, so that you can embed ASSEMBLY CODES in a C program using following way:-

assembly codes

Alternatively you can fetch code simpling by opening and observing corresponding header files (system.h etc.) in a text editor like notepad.

you can refer to LET US C (Yashwant Kenetkar) for details.

for specific code you can contact me.


Zulfikar Ali

Feb 28, 2009 | Microsoft Windows Vista Ultimate Edition

1 Answer

Am not able to add/ retrive data

Proper syntax is:
With rstTemp
!FirstName = strFirst
!LastName = strLast
End With

Do you have the ADODB library loaded?

While in "Code" ... look for a check by "Microsoft ActiveX Data Objects x.xx..."

If you don't have ADO reference library then setting ADODB recordset won't work no matter what syntax you use.

Hint: try using Ctrl+J while you code. The library will show you available syntax as you type.

Jul 20, 2008 | Microsoft Windows XP Professional

1 Answer

Windows explorer

Both of the utilities you have listed have good reviews, but
there are three possibilities:

1) You have somehow damaged the windows shell,
explorer.exe, it's libraries or its registry entries,
while you ware cleaning your system.

In this case you will need to either re-install windows,
or at least repair windows from the install disks and
re-apply service pack 3.

2) You may still have a rogue program or a root-kit running
somewhere. Check the task manager (ctrl-alt-del),
shut down all unnecessary tasks. Then got to:

Control Panel ==> Administrative Tools ==>

and stop all unnecessary services, but do NOT
disable them, unless you know what you are doing.

they will re-start when you re-boot.

Download Mike Lin's startup monitor, and disable
all unwanted programs from starting up ==> reboot

Once you have trimmed your system to the bare minimum,

see if the problem persists.

You may also scan your system with rootkit detectors,
such as 'black light" and rootkit revealer by Mark Russinovich

3) You have a large corrupt media or picture file in your root
directory, and windows explorer is hanging while trying to
generate a preview thumbnail.

Disable: shmedia.dll = Show media
and shimgvw.dll = Show Image View


regsvr32 /u shmedia.dll
regsvr32 /u shimgvw.dll

To re-enable pre-view, enter the previous commands
without the /u switch.


May 07, 2008 | Microsoft Windows XP Professional

Not finding what you are looking for?
Operating Systems Logo

Related Topics:

84 people viewed this question

Ask a Question

Usually answered in minutes!

Top Operating Systems Experts


Level 3 Expert

18258 Answers

Brian Sullivan
Brian Sullivan

Level 3 Expert

27725 Answers

Martin Murray

Level 3 Expert

1614 Answers

Are you an Operating System Expert? Answer questions, earn points and help others

Answer questions

Manuals & User Guides