im trying to compare the value set to ; to ; so from there i can set ; to the values set to : into ;/o im trying to kill the variable
Type: Posts; User: semicolon
im trying to compare the value set to ; to ; so from there i can set ; to the values set to : into ;/o im trying to kill the variable
i was informed by a friend that that was the line of code i wanted, javas syntax is a bit different from c and c++ and i knew that was a problem with it substituting the symbal if (!repeat&&;==;)...
whats wrong with my if statement, the program wont run i started java last week and am still having trouble with the syntax
package chapter13;
import java.util.*;
public class CountRepeats {
...