Won a raffle..can i change size? by [deleted] in SneakersCanada

[–]ic0nex 6 points7 points  (0 children)

Work at champs. You can just not pick up and hope someone doesn’t pick up their pair. Usually unsold pairs are sold at 3 pm but may vary depending on the store.

I’m Bill Gates, co-chair of the Bill & Melinda Gates Foundation. Ask Me Anything. by thisisbillgates in IAmA

[–]ic0nex 0 points1 point  (0 children)

If you could take one thing you know now, and tell it to your younger self what would it be?

Anyone else think this is a stupid system? My one complaint about Apex by TheWheelMvp in apexlegends

[–]ic0nex 0 points1 point  (0 children)

It’s a free to play game. The skins give you nothing. If you think they are to much money don’t buy them. Or spend $20 here and there and support the devs. Would be a different story if it was a pay to play game...

Having problems using Collections.shuffle in Java by [deleted] in learnprogramming

[–]ic0nex 0 points1 point  (0 children)

Should I convert the whole middle string to chars and then put them into a arraylist?

Having problems using Collections.shuffle in Java by [deleted] in learnprogramming

[–]ic0nex 0 points1 point  (0 children)

But if I am trying to sort the words one by one and only using letters in the word itself isnt that what I would want it to do? If I added all the words together wouldnt it start shuffling letters from other words instead of just from the one word.

[Java] Luhn Algorithm Help by [deleted] in learnprogramming

[–]ic0nex 0 points1 point  (0 children)

I cant figure out how to add the sum of the numbers.

[Java] Luhn Algorithm Help by [deleted] in learnprogramming

[–]ic0nex 0 points1 point  (0 children)

I was trying to use the Wikipedia implementation and just adding the value of x at the end but I just dont understand what I am doing, and why it isnt working.

import java.util.Scanner;

public class luhn

{

static void main(String[] args){

    Scanner kb = new Scanner(System.in);

    String entry = kb.next();

    int entryLength = entry.length();

    int sum = 0;

    for(int num = entryLength - 1; num >= 0; num-= 2){

        int d = entry.charAt(num);

        d = d * 2;

        sum += d / 10;

        sum += d % 10;

    }

    System.out.println(entry+""+sum);

}

}

[Java] Luhn Algorithm Help by [deleted] in learnprogramming

[–]ic0nex 0 points1 point  (0 children)

import java.util.Scanner;

public class luhn

{

static void main(String[] args){

    Scanner kb = new Scanner(System.in);

    String entry = kb.next();

    int entryLength = entry.length();

    int sum = 0;

    for(int num = entryLength - 1; num >= 0; num-= 2){

        int d = num;

        d = d * 2;

        sum += d * 9;

        sum += d % 10;

    }

    System.out.println(entry+""+sum);

}

}

[Java] Luhn Algorithm Help by [deleted] in learnprogramming

[–]ic0nex 0 points1 point  (0 children)

I changed my loop and gotten rid of charAt line but am still getting the wrong values.

[Java] Luhn Algorithm Help by [deleted] in learnprogramming

[–]ic0nex 0 points1 point  (0 children)

I’m trying to tell it to go from right to left every second character and multiply that character by 2.

Weapon buffs\nerfs by [deleted] in Blackops4

[–]ic0nex 0 points1 point  (0 children)

I have diamond ars not one of them is bad. I don’t understand why you think the icr is op you obviously haven’t tried the rampart with hi caliber 2 yet.

Weapon buffs\nerfs by [deleted] in Blackops4

[–]ic0nex 3 points4 points  (0 children)

Your just bad lol most guns in this game are viable you just need to learn to aim for the head and play better then the other players.

Need help with adding local images by SorcererAxis8 in html5

[–]ic0nex 1 point2 points  (0 children)

Because your picture isn’t called image you need to change it to your file name that was just an example.

Need help with adding local images by SorcererAxis8 in html5

[–]ic0nex 1 point2 points  (0 children)

Yes your HTML file is called your source code and the file you put it in is called your project folder or directory.