Code for calculating
square root without
using library function,
of math.h
Answer Posted / darshana
Dim i As Integer
Console.WriteLine("enter the number")
i = Console.ReadLine()
For a As Integer = 0 To 1000
If a * a = i Then
Console.WriteLine(a)
Exit Sub
End If
Next
Is This Answer Correct ? | 5 Yes | 14 No |
Post New Answer View All Answers
7-Given an index k, return the kth row of the Pascal's triangle. For example, when k = 3, the row is [1,3,3,1]. For reference look at the following standard pascal’s triangle.
What is extern storage class in c?
Write a C program in Fibonacci series.
What is volatile variable how do you declare it?
What is function prototype in c language?
printf(), scanf() these are a) library functions b) userdefined functions c) system functions d) they are not functions
What is property type c?
What is a good data structure to use for storing lines of text?
What is the size of empty structure in c?
What is the difference between malloc calloc and realloc in c?
Write a program with dynamically allocation of variable.
PLS U SENS ME INTERVIEW O. MY EMAIL ADD, SOFIYA.SINGH@GMAIL.COM
What do you understand by friend-functions? How are they used?
how do you execute a c program in unix.
what is a function method?give example?