id/email
password
forgot password
about | help | done | prefs | create account
CodingBat code practice

Java > Array-1 > makePi
prev  |  next  |  chance

Return an int array length 3 containing the first 3 digits of pi, {3, 1, 4}.

makePi() → {3, 1, 4}

...Save, Compile, Run

See also Java Example Code. Java help docs: If Boolean Logic | Strings | While and For Loops | Arrays and Loops


prev  |  next  |  chance   |  CodingBat  >  Array-1

Forget It! -- delete my code for this problem 109.0

Copyright Nick Parlante 2006-10 - privacy