• Log in or sign up for an account here: https://www.sythe.org/login

is anyone a java programmer or is good at very basic java?

Two Factor Authentication User
Here you go.

edit: sorry didn't fully read your post here's the correct code.

Code:
    public static void main(String[] args) {
        final String[] teamArray = { "ATL", "NYC", "CHI", "SOCAL", "MIA", "SLC" };

        final double[] salesArray = { 422150.00, 1125200.00, 315686.00, 654390.00, 522879.00, 987653.00 };

        for (int i = 0; i < teamArray.length; i++) {
            if (salesArray[i] >= 500000)
                System.out.format("%s: $%.2f\n", teamArray[i], salesArray[i]);
        }
    }

output:
Code:
NYC: $1125200.00
SOCAL: $654390.00
MIA: $522879.00
SLC: $987653.00
 
Last edited:
In Memory of Jon
Gohan has AIDS
Pokémon Trainer
Poképedia
@Hamouze jump on discord I'll give you some tips but you should do your homework yourself

im not looking to pursue a career in comp sci. i took the class so i can learn the basics of java but its also the starting class for comp sci majors so its pretty intensive and i just dont have time to balance doing it between pre-med and my social life.
 
Supporting Business
Discord Voice
Poképedia
Who did this to my freakin' car!
Dat Boi
Dolan Duck
Dolan Trump
I'm LAAAAAAAME
Live Free or Die
Mew
Mewtwo
PHP Shit Show 2k26
Poké Prizebox
Rust Player
Sythe Awards 2016 Winner
Sythe Awards 2017 Winner
Sythe Awards 2019 Winner
Tier 3 Prizebox
Toast Wallet User
im not looking to pursue a career in comp sci. i took the class so i can learn the basics of java but its also the starting class for comp sci majors so its pretty intensive and i just dont have time to balance doing it between pre-med and my social life.
you'll fail the exam if you dont do the homework
 
In Memory of Jon
Gohan has AIDS
Pokémon Trainer
Poképedia
you'll fail the exam if you dont do the homework

i know, i just dont have the time right now. i have too much other work to do, i can study later but this is due tonight. got a 94 on my last exam so not too worried. but thanks for looking out for me dad.
 
Two Factor Authentication User
I tutored C for 5 years at UQ and I know the failure pattern lol

he goes to a shitty university, he'll be fine. it's like wake forest or some shit haha

jking i luv you hamweezel
 
Last edited:
duelarena.gg
Back
Top