Lv 31,356 points

ragn0rak

Favorite Answers34%
Answers191

Someone that gets bored easily. OH and i don't like homework... -___- also basketball is awesomez

  • Java Error, cannot find symbol?... I'm a beginner. Help please?

    I'm a total novice when it comes to java and programming. I'm not 100% done with this code but when i compile it, i only get 1 error that's really stressing me out. that error is

    Admittest.java:9: error: cannot find symbol

    examScore(scoreSAT);

    ^

    symbol: variable scoreSAT

    location: class Admittest

    1 error

    I spent 1 hour trying to figure this out but i just don't understand why...

    Any help would be beyond fantastic thanks. Also, it'd be great if the code could stay in this format somewhat because I'm planning to add more.

    Here's my code:

    import java.util.*;

    public class Admittest {

    public static void main(String[] args) {

    Scanner console = new Scanner(System.in);

    applicantInformation1();

    int chooseSATorACT = chooseSATorACT(console);

    examScore(scoreSAT); //this is where the error is at!

    }

    public static void applicantInformation1() {

    System.out.println("Information for applicant #1:");

    }

    public static int chooseSATorACT(Scanner console) {

    System.out.print("do you have 1) SAT scores or 2) ACT scores?");

    int choose = console.nextInt();

    return choose;

    }

    public static double enterSATorACT(Scanner console, int choose) {

    if (choose == 1) {

    useSATscore(console);

    } else {

    System.out.println("ACT score. Finish this code later");

    }

    }

    public static double useSATscore(Scanner console){

    System.out.print("SAT math? ");

    double math = console.nextDouble();

    System.out.print("SAT critical reading? ");

    double reading = console.nextDouble();

    System.out.print("SAT writing? ");

    double writing = console.nextDouble();

    double scoreSAT = scoreCalcSAT(math, reading, writing);

    return scoreSAT;

    }

    public static double examScore(double scoreSAT) {

    System.out.println("exam score= "+ scoreSAT);

    }

    public static double scoreCalcSAT(double math, double reading, double writing) {

    return (2 * math + reading + writing) /32;

    2 AnswersProgramming & Design7 years ago
  • Which game should I get?

    Should I get John Woo's Stranglehold or Call of Duty 4 for PlayStation 3 and if you could explain why then that'd be great too? I'm really in a bind here so thanks for your help

    :D

    6 AnswersPlayStation1 decade ago
  • Metal Gear Solid 4: Guns of the Patriots vs Halo 3?

    Which video game do YOU think would dominate?

    9 AnswersPolls & Surveys1 decade ago
  • Are my goldfish going to be okay?

    Alright here's the story, I've recently bought 2 goldfish and placed them into a mediocre sized bowl with some rocks, and a live plant on a tray. The goldfish are gulping on the surface, yes I know it's trying to get oxygen but the thing is when I explain this to my mom, she says that it's fine and I'm worrying too much and it's natural for them to do this and refuses to buy an aquarium. So what can I do for my goldfish? Can an air pump/airstone fit in my mediocre sized fishbowl? My fishbowl are about 3-4 times bigger than your normal fishbowl. Also, how can I persuade my mom to buy an aquarium for my goldfish?

    5 AnswersFish1 decade ago