# Search:

Type: Posts; User: JavaA123Chris

1. ## Thread: Error with String range print -1.

by JavaA123Chris
Replies
3
Views
230

### Re: Error with String range print -1.

How would I make it so it finds it instead? In other words, how would I initialize it? I'm sorry if this is confusing, but I don't understand this much.
2. ## Thread: Error with String range print -1.

by JavaA123Chris
Replies
3
Views
230

### Error with String range print -1.

Scanner input = new Scanner(System.in);

int x = 0;

System.out.println(" Enter a math operation: ");
String expr = input.next();

int pos = expr.indexOf("+");...
3. ## Thread: How do I make a break in this?

by JavaA123Chris
Replies
1
Views
219

### How do I make a break in this?

if (number1 + 8 == number2 || number1 - 8 == number2){
if (name1.equals(name2)){
if (cod1 == cod2){
if (some1.equals(some2)){
System.out.println("They're in the same group");
}...
4. ## Thread: Writing a program for system of linear equations.

by JavaA123Chris
Replies
8
Views
2,041

### Re: Writing a program for system of linear equations.

I cannot thank you enough. I apologize for the problem being an algebraic error the whole time. Thanks!
5. ## Thread: Writing a program for system of linear equations.

by JavaA123Chris
Replies
8
Views
2,041

### Re: Writing a program for system of linear equations.

double x = a * ( c - ( b * ( ( f - d ) / e ) ) );
double y = e * ( f - ( d * ( ( e - b ) /...
6. ## Thread: Writing a program for system of linear equations.

by JavaA123Chris
Replies
8
Views
2,041

### Writing a program for system of linear equations.

So i was assigned to write a program that would print the answer to the system of two linear equation.
the form of ax+by=c and dx+ey=f
I wrote this program, but it is incorrect since I tried it...
Results 1 to 6 of 6