more dividing fun
This commit is contained in:
parent
cae45c8613
commit
987fff370d
1 changed files with 5 additions and 0 deletions
|
@ -14,5 +14,10 @@ int main() {
|
|||
assert(2.0/2 == 1);
|
||||
assert(2.0/2 == 1.0);
|
||||
|
||||
assert(0/2.0 == 0);
|
||||
assert(1/2.0 == 0.5);
|
||||
assert(2/2.0 == 1);
|
||||
assert(2/2.0 == 1.0);
|
||||
|
||||
std::cout << "divided we stand." << std::endl;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue