No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Hi! How can I implement the folowing: ABC = BCA - true BAC = CAB - true DAB = BCA - false if (((1 == 1) && (2 == 2) && (3==3)) || ((1==2)&&(2==1)&&(3==3)) || ..... ) return true; That cannot be the fastest way, right?? And how can I … |
|
Hi! I have several 55 x 55 px png-pictures, which need to be rotated by 0, 90, 180 or 270°. I tried the following but in that cases the pictures were not on their correct positions anymore. Thanks. // Import the basic graphics classes. import java.awt.*; import javax.swing.*; /** * … |
|
Hello! I have two Hashmaps: [CODE]POINTS (String/int) Player A: 0 Player B: 3 Player C: 5 Player D: 2 Player E: 5 Player F: 3[/CODE] [CODE]TIME (sec) (String/int) Player A: 0 Player B: 15 Player C: 9 Player D: 8 Player E: 12 Player F: 15[/CODE] The progrom should first … |
|
Hi @all! I have a array with three numbers: num[0] = 5 num[1] = 2 num[2] = 5 I need to find out which of these numbers are the largest ones, it could be one, two or all of them, and need the index. Here for example "0 and 2". … |