Arduino, Processing and 2 HC-SR04 Ultrasonic Sensor problems. Please help....

When you say put each { on a new line do you mean put all of them at the bottom sketch or with in each method???

if(whatever) { // Curly brace in wrong place

if(whatever)
{ // Curly brace on a new line, where it belongs.