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.

~8K People Reached
Favorite Tags
Member Avatar for kay19

Hello. Just learned about hashmap a week ago. My code can add an Employee's name/id/performance scale based on user input. I allow the user to also remove an employee by allowing user to input name/id to remove. However, when the user prints out sorted last name, the name the user …

Member Avatar for kay19
0
145
Member Avatar for kay19

Question: Well I have to input a number correctly with comma's and a decimal. My input would be 243,111.11 and the output would come out as 2,43,,111.11 Do I have to create additional for loops statements for each digits and check for comma's/decimal? I almost scrapped this code for attempting …

Member Avatar for kay19
0
242
Member Avatar for kay19

Hello. Nearly finish this project, but can't sort the last code. I have faculty, staff, & partime employees, and they have ID, and what I want to do is sort by ascending order them based on their #ID. Everything else works before that. Here is my two codes, the Tester, …

Member Avatar for kay19
0
158
Member Avatar for kay19

Well I initialize an array of 5000, along with using srand & rand numbers with a range. I want to Prompt the user to enter an integer to search (from the front of the array) & output the index location of the element found(-1 if not found). I attempted it, …

Member Avatar for kay19
0
190
Member Avatar for kay19

Hello, having a hard time using my Faculty class, where I have to initialize/createObject from my Education class to Faculty. I would like to use the constructors from the Education class, to be implemented to my Faculty class. Here is my attempt Here's my two codes. public class Education { …

Member Avatar for JamesCherrill
0
209
Member Avatar for kay19

Hello, well I'm doing a rational class and i'm having trouble with the subtraction part. I have done add, multiply, and division correctly. Therefore, I would like a little help on subtraction, and i'm set. public class Rational { // TODO Auto-generated method stub //Data members private int numerator; private …

Member Avatar for kay19
0
223
Member Avatar for kay19

Well I have a question and not sure if it's right. Here's the question(Long one). Applications. Build a class called Precinct. The record for a voter will consist of aname (String) and a political party(Boolean)(Two party). The SignInQueue method takes two parameters, a voter name and a party, and places …

Member Avatar for kay19
0
294
Member Avatar for kay19

Well I need help one of the two questions which are similar to the topic I'm asking. The first question that I solve was "Taller method should return true if the tree on which the method is invoked has a greater height than the tree passes as a paramter". public …

Member Avatar for kay19
0
187
Member Avatar for kay19

Well i'm having trouble with this code with the following lines: return new AccountID(this); return new Customer(this); ^These two from the clone method. Customer myCustomer = new Customer(newBank.Find(myAccountID)); ^Not sure what i'm doing wrong here, it is on 4 different methods of deposit, withdrawal etc. Not only that, but my …

Member Avatar for kay19
0
205
Member Avatar for kay19

Well I need help on moifying my report regarding SearchTree.java(Working with Recursion) "Modify the private report to have an additional parameter which indicates the level of indentation at which the visit should be displayed. The public version of report should be modified to call the private version with an indentation …

Member Avatar for riahc3
0
169
Member Avatar for kay19

from __future__ import print_function, division #requested per VPython import time from visual import * #make sure this is asterisk char, copy/paste no go ## constants mzofp = 1e-7 L = 2.5 q = 2*1.6e-19 scalefactor = 7e-9 deltat = 9e-20 #objects & initial conditions particle = sphere(pos=vector(0,0,-4e-10), radius=1e-11, color=color.red) velocity …

Member Avatar for kay19
0
176
Member Avatar for kay19

So here's my code. I had to do 3 constructor and 2 division methods. I have finished the 3 constructors. My question is on the division, where :(1) I have to divide a fraction by an integer and return, (2)divide an integer by a fraction and return. public class IFraction …

Member Avatar for M4trixSh4d0w
0
124
Member Avatar for kay19

Seem to be having trouble. The trouble i'm having is the calculateAverage, and a bit of the public static main void area. I'll explain: calculateAverage: What i'm suppose to do is read from the txt file. I tried doing the inFile.nextDouble part, but seem to be getting errors. i'm not …

Member Avatar for foxtich
0
3K
Member Avatar for kay19

Hello all. Well, I posted about search results and thanks for the help. I modify even more that it includes a select option next to the person's name. This is where I have the trouble. Objective is the person that I search, I can click "select" on that person, and …

Member Avatar for cereal
0
133
Member Avatar for kay19

Well, doing a beginner project. I've 100% finished with adding items to the DB. However, having stuck trying to use the "search" button to retrieve the DB list, as well updating errors. Objective, input last name, click on search, and find the results based on the last name input. Here's …

Member Avatar for kay19
0
176
Member Avatar for kay19

Welp, another problem arise albeit small. Just with Decrementing hours, seconds, and minutes. I seem not get the final results right at all. Keep tinkering with it, and still not getting it. This is my answer 23:00:00 23:00:00 23:00:00. First is right, but the 2nd and 3rd should be 22:58:00 …

Member Avatar for kay19
0
741
Member Avatar for kay19

Well, I seem to have some little error. Purpose: Finding Max and Min numbers from txt file by inputting four numbers. Then I calculate the Range by using (Max - Min) Problem: It does great with positive numbers. However, when I input negative numbers, calculation seems to be off. For …

Member Avatar for kay19
0
169
Member Avatar for kay19

Well, here's my problem. I have to Count from Num1 to Num2 by input from the user. So when I input let say 1 to 5, it will display 1 3 5. If I do 2 to 6, it would display 3 and 5. I can't seem to get the …

Member Avatar for kay19
0
431
Member Avatar for kay19

Well, I first made a topic about JDK commands not inputting, but fixed it now. I usually do my work in class when it comes to textpad - java, but right now, working at home. Here's my problem - I can't get it to compile. It gives me an error …

Member Avatar for kay19
0
504
Member Avatar for kay19

Well, started my new Computer Science class, and already having trouble. Well, firstly I needed JDK, so Installed the JDK-6u23-windowsx64.exe. After that, I needed to install Textpad, which my teacher said all students will use for assignments. Here's the problem, after installing textpad, I had to go - Configure - …

Member Avatar for kay19
0
127