Ask your own question, for FREE!
Mathematics 13 Online
OpenStudy (anonymous):

import javax.swing.*; public class while { /** Code documentation here */ public static void main(String[] args) { int target= 0; int zero, one, two, three, four, five, six, seven, eight, nine, ten; int most = 0; int heads = 0; String error = "That is not a valid number."; String input = OptionPane.showInputDialog ("How many times would you like to flip a coin?":wink:; try { target = Integer.parseInt(input); }//try catch (Exception e) { JOptionPane.showMessageDialog(null, error, "Unexpected exception", JOptionPane.INFORMATION_MESSAGE)

OpenStudy (anonymous):

So I had to put together bits and components to make a program but I think it's full of errors

OpenStudy (anonymous):

So owlbucks to anyone who can get it to work

OpenStudy (anonymous):

Ye

geerky42 (geerky42):

@e.mccormick may help.

OpenStudy (anonymous):

@ganeshie8

OpenStudy (anonymous):

ye

OpenStudy (e.mccormick):

Ask it in the proper section.

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!