Thanks a million... Works perfectly. Defined it as
static int cum
Type: Posts; User: ashboi
Thanks a million... Works perfectly. Defined it as
static int cum
import java.util.Scanner;
public class Hangman
{
int cum;
public static void main(String[] args)
{
System.out.println("Welcome to Hangman... v1.0 - Designed Ashley Bwanya");...
Tried it but the method cannot reach the varible. And yes its the same problem
This is sample of my code. I need be able to have a cumulative score after the user plays x number of times. But keep getting same answer.
import java.util.Scanner;
public class Hangman...