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

Discussion in 'Spam Forum' started by Hamouze, Mar 2, 2017.

is anyone a java programmer or is good at very basic java?
  1. Unread #1 - Mar 2, 2017 at 1:58 PM
  2. Hamouze
    Joined:
    Feb 24, 2012
    Posts:
    4,216
    Referrals:
    2
    Sythe Gold:
    273
    In Memory of Jon Poképedia Gohan has AIDS Pokémon Trainer

    Hamouze Grand Master
    $50 USD Donor New

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

    im in csc 111 and forgot that i have a lab due soon and i m pretty fucked. this is literally basic shit like arrays. if anyone can help me out super quick i will suck ur dick and throw u some bills. pm me if u can help or post here. this is the first prompt so u understand what it's gonna be like:

    Part 1. You will be given two separate arrays which contain information about each sales team working for a company – the team names are in one array named teamsArray and the sales generated by each team are in the second array named salesArray.

    teamsArray: [ ATL | NYC | CHI | SOCAL | MIA | SLC ]
    salesArray: [ 422150.00 | 1125200.00 | 315686.00 | 654390.00 | 522879.00 | 987653.00 ]

    You should assume that sales values are doubles.

    Your task is to report the city abbreviations and sales for teams that had at least $500,000.00 in sales.

    For the data above, the expected solution is:

    NYC: $1125200.00
    SOCAL: $654390.00
    MIA: $522879.00
    SLC: $987653.00

    NOTE: In order to print the dollar values with two decimal places you'll need to use an alternative to System.out.println() named System.out.format() as follows:

    System.out.format( "%s: $%.2f\n", teamsArray, salesArray );

    Part 2. If no sales team meets the $500,000.00 threshold, your program should print a message that reads:

    No teams met expectations. Might want to sell your stock.

    In this case the output would read as follows:

    Sales teams meeting expectations:
    No teams met expectations. Might want to sell your stock.














    import java.util.Scanner;

    public class Main {
    public static void main(String[] args) {

    int i;
    int numberOfTeams;
    String[] teamsArray;
    double[] salesArray;

    // THIS CODE UP TO THE ---- READS IN THE TEAM AND SALES INFORMATION
    Scanner scnr = new Scanner(System.in);
    numberOfTeams = scnr.nextInt();

    teamsArray = new String[numberOfTeams];
    salesArray = new double[numberOfTeams];

    for (i = 0; i < numberOfTeams; ++i) {
    teamsArray = scnr.next();
    salesArray = scnr.nextDouble();
    }
    // ----


    // STUDENT CODE SHOULD GO HERE

    }
    }
     
  3. Unread #2 - Mar 2, 2017 at 2:04 PM
  4. Hamouze
    Joined:
    Feb 24, 2012
    Posts:
    4,216
    Referrals:
    2
    Sythe Gold:
    273
    In Memory of Jon Poképedia Gohan has AIDS Pokémon Trainer

    Hamouze Grand Master
    $50 USD Donor New

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

    i swear to god i am in desperate need of some help rn i'll do whatever it takes pls my grade depends on this
     
  5. Unread #3 - Mar 2, 2017 at 2:09 PM
  6. Soul
    Joined:
    Mar 11, 2013
    Posts:
    11,200
    Referrals:
    1
    Sythe Gold:
    1,455
    Vouch Thread:
    Click Here
    Discord Unique ID:
    163111198550786049
    Discord Username:
    soul8181

    Soul Legend

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

  7. Unread #4 - Mar 2, 2017 at 2:12 PM
  8. GOAT
    Joined:
    Sep 27, 2015
    Posts:
    19,354
    Referrals:
    8
    Sythe Gold:
    200
    Discord Unique ID:
    232534753969045505
    Discord Username:
    goat7777
    Nitro Booster CoolHam Two Factor Authentication User Toast Wallet User

    GOAT <THE GOAT> DISCORD goat7777 UID 232534753969045505
    GOAT Donor

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

    Add my skpye
     
  9. Unread #5 - Mar 2, 2017 at 4:03 PM
  10. Hamouze
    Joined:
    Feb 24, 2012
    Posts:
    4,216
    Referrals:
    2
    Sythe Gold:
    273
    In Memory of Jon Poképedia Gohan has AIDS Pokémon Trainer

    Hamouze Grand Master
    $50 USD Donor New

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

    s/o to my main mans @Jiwi, got the biggest dick in the game
     
    ^ Jiwi likes this.
  11. Unread #6 - Mar 2, 2017 at 4:20 PM
  12. Talon
    Joined:
    Oct 8, 2014
    Posts:
    4,073
    Referrals:
    17
    Sythe Gold:
    1,267
    Discord Unique ID:
    1007900041333198960
    Discord Username:
    talon
    I'm LAAAAAAAME In Memory of Jon Live Streamer Official LoL Rank Verifier Sythe's 10th Anniversary SytheSteamer Rust Player
    CoolHam Nitro Booster Verified Ironman Sythe's 15th Anniversary

    Talon Grand Master
    $300 USD Donor New

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

     
  13. Unread #7 - Mar 2, 2017 at 4:32 PM
  14. Sythe
    Joined:
    Apr 21, 2005
    Posts:
    8,071
    Referrals:
    467
    Sythe Gold:
    5,281
    Discord Unique ID:
    742989175824842802
    Discord Username:
    Sythe
    Dolan Duck Dolan Trump Supporting Business ???
    Poképedia
    Clefairy Jigglypuff
    Who did this to my freakin' car!
    Hell yeah boooi
    Tier 3 Prizebox Toast Wallet User
    I'm LAAAAAAAME Rust Player Mewtwo Mew Live Free or Die Poké Prizebox (42) Dat Boi

    Sythe Join our discord

    test

    Administrator Village Drunk

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

    Go to your lectures scrub
     
  15. Unread #8 - Mar 2, 2017 at 4:41 PM
  16. Wortel
    Joined:
    Jan 17, 2016
    Posts:
    32,111
    Referrals:
    55
    Sythe Gold:
    966
    Vouch Thread:
    Click Here
    Carrot Sythe's 15th Anniversary (2)
    Detective Two Factor Authentication User OG Club SytheSteamer WoW Classic Member of the Month Winner Photography Competition Winner I saw Matthew In Memory of Jon
    May the 4th Be With You Member of the Quarter Winner

    Wortel Strive not to be a success, rather be of value.
    Wortel Donor Ghost Face Retired Global Moderator

  17. Unread #9 - Mar 2, 2017 at 5:27 PM
  18. GOAT
    Joined:
    Sep 27, 2015
    Posts:
    19,354
    Referrals:
    8
    Sythe Gold:
    200
    Discord Unique ID:
    232534753969045505
    Discord Username:
    goat7777
    Nitro Booster CoolHam Two Factor Authentication User Toast Wallet User

    GOAT <THE GOAT> DISCORD goat7777 UID 232534753969045505
    GOAT Donor

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

    String[] anArray = new String[5];

    anArray[0] = "kys";
    anArray[1] = "killyourself";
    anArray[3] = "kys";
    anArray[4] = "killyourself";

    //this code adds the second array that is needed.
    for (i = 0; i < anArray.length; i++) {
    System.out.println(anArray);
    }

    ftfy
     
  19. Unread #10 - Mar 2, 2017 at 5:28 PM
  20. Sythe
    Joined:
    Apr 21, 2005
    Posts:
    8,071
    Referrals:
    467
    Sythe Gold:
    5,281
    Discord Unique ID:
    742989175824842802
    Discord Username:
    Sythe
    Dolan Duck Dolan Trump Supporting Business ???
    Poképedia
    Clefairy Jigglypuff
    Who did this to my freakin' car!
    Hell yeah boooi
    Tier 3 Prizebox Toast Wallet User
    I'm LAAAAAAAME Rust Player Mewtwo Mew Live Free or Die Poké Prizebox (42) Dat Boi

    Sythe Join our discord

    test

    Administrator Village Drunk

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

    Even for a meme you guys suck
     
    ^ Aklan, Fingy and Blupig like this.
  21. Unread #11 - Mar 2, 2017 at 5:54 PM
  22. Hamouze
    Joined:
    Feb 24, 2012
    Posts:
    4,216
    Referrals:
    2
    Sythe Gold:
    273
    In Memory of Jon Poképedia Gohan has AIDS Pokémon Trainer

    Hamouze Grand Master
    $50 USD Donor New

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

    no excuses, im just a lazy piece of shit


    always here and queer bbg
     
  23. Unread #12 - Mar 2, 2017 at 6:35 PM
  24. Loyal 2 da game
    Joined:
    Jan 5, 2006
    Posts:
    4,691
    Referrals:
    0
    Sythe Gold:
    672
    Two Factor Authentication User

    Loyal 2 da game Formerly known as Loyal To The Game

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

    just get blupig to do it for ya

    Anyway if you excuse me i gotta go squat 3p to cleanse myself of this geeky shit. Pce
     
  25. Unread #13 - Mar 2, 2017 at 10:39 PM
  26. Blupig
    Joined:
    Nov 23, 2006
    Posts:
    7,145
    Referrals:
    16
    Sythe Gold:
    1,609
    Discord Unique ID:
    178533992981594112
    Valentine's Singing Competition Winner Member of the Month Winner MushyMuncher Gohan has AIDS Extreme Homosex World War 3 I'm LAAAAAAAME
    Off Topic Participant

    Blupig BEEF TOILET
    $5 USD Donor

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

    haha i know how to code html and some java-scripts if u ever need a cool software!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    hello world, am i right?????????????????????????????????????
     
    ^ Talon likes this.
  27. Unread #14 - Mar 2, 2017 at 10:43 PM
  28. Loyal 2 da game
    Joined:
    Jan 5, 2006
    Posts:
    4,691
    Referrals:
    0
    Sythe Gold:
    672
    Two Factor Authentication User

    Loyal 2 da game Formerly known as Loyal To The Game

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

    Honestly bud you good?
     
  29. Unread #15 - Mar 3, 2017 at 12:06 AM
  30. Hamouze
    Joined:
    Feb 24, 2012
    Posts:
    4,216
    Referrals:
    2
    Sythe Gold:
    273
    In Memory of Jon Poképedia Gohan has AIDS Pokémon Trainer

    Hamouze Grand Master
    $50 USD Donor New

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

    Write a program named "BlindMansBluff.java" that automatically draws two cards, one for the dealer and one for the player. The program wlil show the value of the dealer's card but not the player. The player will choose one of three options: (1) Over, (2) Under, or (3) Equal. Then the program will show the value of the player's card and then show whether the player's card is greater than, less than, or equal to the value of the dealer's card.

    The program must implement a class named "Cards" (written by you) named "Cards.java" that will have: 1) a private integer member named "myValue", 2) a constructor, 3) a member public method named "draw" that sets myValue to a (pseudo-)randomly generated integer between 1 and 13 and returns that value, and 4) a method that takes in a "Cards" object and returns 1, -1, or 0 depending on whether host's Cards object is greater than, or equal to the value of the parameter Cards Object.

    One example output might be:
    Dealer has a 6. Is your card (1) Over, (2) Under, or (3) Equal?
    2
    You have a 9. You lose.



    can anyone do this? pm me NOW NOW NOW
     
  31. Unread #16 - Mar 3, 2017 at 12:06 AM
  32. Hamouze
    Joined:
    Feb 24, 2012
    Posts:
    4,216
    Referrals:
    2
    Sythe Gold:
    273
    In Memory of Jon Poképedia Gohan has AIDS Pokémon Trainer

    Hamouze Grand Master
    $50 USD Donor New

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

    PMPE EMEMEMEMEMMEME
     
  33. Unread #17 - Mar 3, 2017 at 12:06 AM
  34. Hamouze
    Joined:
    Feb 24, 2012
    Posts:
    4,216
    Referrals:
    2
    Sythe Gold:
    273
    In Memory of Jon Poképedia Gohan has AIDS Pokémon Trainer

    Hamouze Grand Master
    $50 USD Donor New

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

    if yu can do this pm em
     
  35. Unread #18 - Mar 3, 2017 at 12:07 AM
  36. Hamouze
    Joined:
    Feb 24, 2012
    Posts:
    4,216
    Referrals:
    2
    Sythe Gold:
    273
    In Memory of Jon Poképedia Gohan has AIDS Pokémon Trainer

    Hamouze Grand Master
    $50 USD Donor New

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

    i give u ma money
     
  37. Unread #19 - Mar 3, 2017 at 12:18 AM
  38. Loyal 2 da game
    Joined:
    Jan 5, 2006
    Posts:
    4,691
    Referrals:
    0
    Sythe Gold:
    672
    Two Factor Authentication User

    Loyal 2 da game Formerly known as Loyal To The Game

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

    I cant help ya bud sorry.
     
  39. Unread #20 - Mar 3, 2017 at 12:36 AM
  40. 01053
    Joined:
    Aug 8, 2016
    Posts:
    36
    Referrals:
    0
    Sythe Gold:
    40

    01053 Member

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

    If you still need this hit me up.
     
< Brother Please do not get drunk | requesting Cock Life review from Alex J Leon >

Users viewing this thread
1 guest


 
 
Adblock breaks this site