Allison Ziegler 135fb32d6b Elimintated an extra line of code in factorial 6 jaren geleden
.DS_Store initial commit 6 jaren geleden
Factorial.class Elimintated an extra line of code in factorial 6 jaren geleden
Factorial.ctxt All tests pass 6 jaren geleden
Factorial.java Elimintated an extra line of code in factorial 6 jaren geleden
FactorialTest.class All tests pass 6 jaren geleden
FactorialTest.ctxt All tests pass 6 jaren geleden
FactorialTest.java initial commit 6 jaren geleden
IntegerPrinter.class All tests pass 6 jaren geleden
IntegerPrinter.ctxt All tests pass 6 jaren geleden
IntegerPrinter.java All tests pass 6 jaren geleden
IntegerPrinterTest.class All tests pass 6 jaren geleden
IntegerPrinterTest.ctxt All tests pass 6 jaren geleden
IntegerPrinterTest.java initial commit 6 jaren geleden
LargestInteger.class All tests pass 6 jaren geleden
LargestInteger.ctxt All tests pass 6 jaren geleden
LargestInteger.java All tests pass 6 jaren geleden
LargestIntegerTest.class All tests pass 6 jaren geleden
LargestIntegerTest.ctxt All tests pass 6 jaren geleden
LargestIntegerTest.java initial commit 6 jaren geleden
Main.class All tests pass 6 jaren geleden
Main.ctxt All tests pass 6 jaren geleden
Main.java All tests pass 6 jaren geleden
NormalizeAngle.class All tests pass 6 jaren geleden
NormalizeAngle.ctxt All tests pass 6 jaren geleden
NormalizeAngle.java All tests pass 6 jaren geleden
NormalizeAngleTest.class All tests pass 6 jaren geleden
NormalizeAngleTest.ctxt All tests pass 6 jaren geleden
NormalizeAngleTest.java initial commit 6 jaren geleden
README.TXT All tests pass 6 jaren geleden
README.md initial commit 6 jaren geleden
ShortCalculator.class All tests pass 6 jaren geleden
ShortCalculator.ctxt All tests pass 6 jaren geleden
ShortCalculator.java All tests pass 6 jaren geleden
ShortCalculatorTest.class All tests pass 6 jaren geleden
ShortCalculatorTest.ctxt All tests pass 6 jaren geleden
ShortCalculatorTest.java initial commit 6 jaren geleden
package.bluej Elimintated an extra line of code in factorial 6 jaren geleden

README.md

Integer Printer

  • Write a program that reads an integer and prints it in :
  • binary
  • Octal
  • Hexadecimal

Normalize Angle

  • Write a program that reads an integer angle (which may be positive or negative) and normalizes it to a value between 0 and 359 degrees. Try it first with the % operator, then with floorMod.

Largest Integer

  • Using only the conditional operator, write a program that reads three integers and prints the largest. Repeat with Math.max

Factorial

  • Write a program that computes the factorial n! = 1 x 2 x ... x n, using BigInteger. Compute the factorial of 1000.

ShortValues

  • Write a program that reads in two numbers between 0 and 65535, stores them in short variables, and computes their unsigned sum, difference, product, quotient, and remainder , without converting them to int.