Jared Norris 2cc6ff70da done il y a 6 ans
.DS_Store initial commit il y a 6 ans
Factorial.class factorial il y a 6 ans
Factorial.ctxt factorial il y a 6 ans
Factorial.java factorial il y a 6 ans
FactorialTest.class factorial il y a 6 ans
FactorialTest.ctxt factorial il y a 6 ans
FactorialTest.java initial commit il y a 6 ans
IntegerPrinter.class integer printer il y a 6 ans
IntegerPrinter.ctxt integer printer il y a 6 ans
IntegerPrinter.java integer printer il y a 6 ans
IntegerPrinterTest.class factorial il y a 6 ans
IntegerPrinterTest.ctxt factorial il y a 6 ans
IntegerPrinterTest.java initial commit il y a 6 ans
LargestInteger.class Largest Int il y a 6 ans
LargestInteger.ctxt factorial il y a 6 ans
LargestInteger.java Largest Int il y a 6 ans
LargestIntegerTest.class factorial il y a 6 ans
LargestIntegerTest.ctxt factorial il y a 6 ans
LargestIntegerTest.java initial commit il y a 6 ans
NormalizeAngle.class normalize il y a 6 ans
NormalizeAngle.ctxt factorial il y a 6 ans
NormalizeAngle.java done il y a 6 ans
NormalizeAngleTest.class factorial il y a 6 ans
NormalizeAngleTest.ctxt factorial il y a 6 ans
NormalizeAngleTest.java initial commit il y a 6 ans
README.md initial commit il y a 6 ans
ShortCalculator.class temporary calculator il y a 6 ans
ShortCalculator.ctxt temporary calculator il y a 6 ans
ShortCalculator.java temporary calculator il y a 6 ans
ShortCalculatorTest.class temporary calculator il y a 6 ans
ShortCalculatorTest.ctxt factorial il y a 6 ans
ShortCalculatorTest.java temporary calculator il y a 6 ans
package.bluej done il y a 6 ans

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.