|
- c# - Square Root Calculator - Code Review Stack Exchange
I have now written a simple square root calculator using the division method: static void Main(string[] args) { double num, sqrt = 0; int currentDecimal = 0, decimalAccuracyLevel,
- Simple square root calculator - Code Review Stack Exchange
Very simple square root calculator I am sure it's terrible and can be made much better I feel it's way too many lines import random ## ask user for a number to find sq root for num1 = input( quot;
- Square roots via Newtons method in Java - Code Review Stack Exchange
This time, one of my labs state that I need to write a complete java program which will calculate the square root of a number via Newton's method The reason behind using Newton's method, as oppose
- beginner - Calculator (Java) - Code Review Stack Exchange
The calculator has no knowledge of how to subtract beyond it containing this Function It's all encapsulated and doesn't leak into any other class's responsibility So you've created your SubtractFunction, AddFunction, MultiplyFunction etc etc, where are we going to put them? The calculator needs to store them, say in some kind of list:
- Integer square root in x86 assembly (NASM) - Code Review Stack Exchange
This program calculates the square root of an unsigned 32-bit number with some bit fiddling to get a very close approximation, then one iteration of the Babylonian method to get an exact value I d
- Simple calculator in C - Code Review Stack Exchange
I made a very simple calculator in C that allows the user to perform calculations like addition, subtraction, multiplication and division This is my first C program that I've made outside of my
|
|
|