Something like:
public static void main (String[] args)
{
// define sum, . . .
// . . . and then call the method:
tossDice( sum );
}
Type: Posts; User: GregBrannon
Something like:
public static void main (String[] args)
{
// define sum, . . .
// . . . and then call the method:
tossDice( sum );
}
You call rollDice() just fine in the tossDice() method. I don't understand what you're asking about calling rollDice() in or from the main() method. Why would you? Have you written rollDice()? ...