Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~11.6K People Reached
Favorite Tags
java x 49
php x 3
Member Avatar for kyriacos1986

I have been asked to count the overal time of an album. The user enters minutes and seconds in the formmat of mm.ss. I have wrote the folowing code but I don't get the result I supposed to get. I.E : 1st:3.55, 2nd 3.55 I got 7.1 instead of 7.50. …

Member Avatar for kyriacos1986
0
132
Member Avatar for kyriacos1986

I am trying to calculate the overall time of an album. The user enters the track length (double) in format mm.ss . Then convert this in a String so I can calculate min and sec separately. public void overallRunningTime() { int min = 0; int sec = 0; for(int i …

Member Avatar for kyriacos1986
0
107
Member Avatar for kyriacos1986

In a local database: I have a field content in a table where I store numbers and symbols in the following format {1,2,1,3,1,4,1,1,1} ∪ {1,2,198,776,455,666} When I ran the query in my php code SELECT * FROM table and echo it in the web browser only {1 is displayed I …

Member Avatar for masterjiraya
0
180
Member Avatar for kyriacos1986

I have installed WAMP server and workbench when I am trying the *phpinfo();* I get: J��� 5.5.29�"���q:k->.kP�ÿ÷!�€����������2EDfW^UlCH~d�mysql_native_password�!��ÿ„#08S01Got packets out of order my php file is located in the www folder http://localhost:3307/php1.php the wamp server is online Can anyone tell me what am I doing wrong? thanks

Member Avatar for LastMitch
0
673
Member Avatar for kyriacos1986

I have created my GUI interface in Java and I would like to know how to add information from a pdf file. I would appreciate any help. Thank you in advance

Member Avatar for NormR1
0
53
Member Avatar for kyriacos1986

I want to update a record of a gym member when his/her weight change. But unfortunately my program can't find the given member. Here is my code: [CODE] public static void updateWeight() { Scanner in = new Scanner(System.in); // Creation of a new Scanner object String tempName = ""; // …

Member Avatar for kyriacos1986
0
135
Member Avatar for kyriacos1986

I want to read from the keyboard the first name and last name of a member separated by space I have tried the following but it doesn't work. [CODE] public static void updateWeight() { Scanner in = new Scanner(System.in); // Creation of a new Scanner object String tempName = ""; …

Member Avatar for NormR1
0
178
Member Avatar for lalaZai

If user enter all these then i need to use what to store it in a same group (many different group) [code]import java.util.Scanner; class addBook { public static void book() { int isbn; Scanner inputDevice = new Scanner (System.in); System.out.println("Enter ISBN ...\n"); isbn = inputDevice.nextInt(); int title; System.out.println("Enter TITLE ...\n"); …

Member Avatar for stultuske
0
112
Member Avatar for kyriacos1986

When I run the following lines of code the following erroe from the compiler is displayed [CODE]cannot find symbol - method start()[/CODE] CODE: [CODE]import java.lang.Thread; import java.util.concurrent.*; public class MyThread { public static final int MAX = 15; private String message; /** * Constructor with parameters * * @param message …

Member Avatar for forkmartin
0
135
Member Avatar for kyriacos1986

I am trying to create a countdown timer using the javax.swing.Timer class. In order to display it I am only allowed to use javax.swing.JFrame and javax.swing.TextField classes. Well my Timer works as I expected. But I have trouble when I am trying to display it in the JFrame. It appears …

Member Avatar for JamesCherrill
0
836
Member Avatar for kyriacos1986

I have been asked to design a method splitMid that can be added to the LinkedList<E> class. This method should have the following header: public void splitMid(LinkedList<E> sublist) and should split the given list into two sub-lists of (almost) equal sizes. Suppose myList points to the with elements 34,65,27,89 and …

Member Avatar for NormR1
0
6K
Member Avatar for kyriacos1986

I have been asked to create a method to merge two LinkedList. I am allowed to use only the following methods: From LinkedList: > addLast(E); > size(); From ListIterator: > E next(); > boolean hasNext(); > E previous(); > void remove(); The first list (list1) points to 2,6,7 The second …

Member Avatar for kyriacos1986
0
438
Member Avatar for kyriacos1986

I have been asked to create to check if a word is palindrome or not. But I am facing some problems. After the code you can see the messages that I received from the compiler. [CODE] import java.util.*; public class Palindrome { public static void main(String[] args) { [B]Stack<String> stack …

Member Avatar for kyriacos1986
0
2K
Member Avatar for kyriacos1986

Good morning to everyone. I have been asked to derive a SortedLinkedList from the java.util.LinkedList which will sort members of a gym based on their last names. In addition will calculate the BMI of each member, the members will be added from a text file. Here is my code. 1.Class …

Member Avatar for JamesCherrill
0
175