Posts
 
Reputation
Joined
Last Seen
Ranked #4K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
5
Posts with Upvotes
5
Upvoting Members
4
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
3 Commented Posts
~34.5K People Reached
About Me

Taking Computer Information Technology
- Majoring in Web Development and Web Administration

- Interested in learning anything (programming, hardware, software, etc...)

Interests
Basketball, Programming, Website scripting (Client and server), ping pong, hanging out with friends,…
Favorite Tags
Member Avatar for vijaykrishnabor

Swap 2 number without using third variable code do not use temp variable for swapping if the code was useful please let me know [code]#include <stdio.h> void main() { int a,b; printf("enter number1: ie a"); scanf("%d",a); printf("enter number2:ie b "); scanf("%d",b); printf(value of a and b before swapping is a=%d,b=%d"a,b); …

Member Avatar for Mayukh_1
-1
7K
Member Avatar for Nikki_77

Write a class named Car that has the following fields: yearModel. The yearModel field is an int that holds the car's year model make. The make field references a String object that holds the make of the car speed. The speed field is an int that holds the car's current …

Member Avatar for stultuske
0
22K
Member Avatar for dwel
Member Avatar for haranaboy

Hi, I'm wondering if anyone can help me develop the right sql query. I'm trying to select a "customerNumber" in table 1, but only if it doesn't exist in table2. I tried this [CODE]Select Table1.customerNumber From Table1, table2 Where table1.customerNumber NOT IN (select table2.customerNumber from table2) [/CODE] It isn't right …

Member Avatar for simplypixie
0
216
Member Avatar for Locane

This program simply creates an array of movies with a star rating for each one. My problem is, I want to have code that adds the contents of the array if the movie is the same. So for my example I was using Frozen Ground as the movie. In my …

Member Avatar for Locane
0
140
Member Avatar for niche1

I'm trying to write a function that counts characters in a <textarea>. My current problem is to trigger an alert in my function so I can know I'm on the right track. What do I need to add to my JS to get the alert to work?[CODE]<!doctype html> <html> <head> …

Member Avatar for Troy III
0
128
Member Avatar for haranaboy

[CODE]<html> <head> <script type="text/javascript"> function test (){ //refer tst to a new Objy object. var tst = new Objy(); alert(tst.display()); } function Objy(){ try{ this.prototype.display= function() { this.text="yoyo"; }; } catch (err){ alert (err); } } </script> </head> <body onload="Javascript: test()"> <div id="display" > </div> </body> </html>[/CODE] Hi, I'm basically …

Member Avatar for haranaboy
0
137
Member Avatar for T4gal

Lately I've been seeing a lot of people saying you should never use table for a site layout, only DIVs. So I began to look into this to see why, and after a lot of reading I'm thoroughly confused. Currently I make all of my websites using tables and CSS …

Member Avatar for localinternet
0
227
Member Avatar for lapunluyang

There was a time when 800x600 resolution was used for websites because 14" monitors was IN but now they are used very less. Now 17" monitors have taken their place. So the usage of monitors will decide what website resolution to be used? or you will see the content of …

Member Avatar for agrable
0
128
Member Avatar for jwmollman

Hi guys, I'm having some trouble with my Java homework, and I was wondering if any of you could point me in the right direction. I need to find a loop that will add all the whole numbers from 1 to 1000 and print only the total. I've been spending …

Member Avatar for kikovi
0
181
Member Avatar for Transcendent

This file is saved as Employee.java [CODE]// Employee.java //Employee Class with a construuctor to initialize the first name, last . public class Employee { private String FirstName; //first name for this Employee private String LastName ; //last name for this Employee private double MonthlySalary; //Monthly salary for this Employee //constructor …

Member Avatar for kramerd
0
224
Member Avatar for caswimmer2011

Hey, I'm making a password program for my programming class. If the user doesn't get the password correct in 10 tries, then it says "Your hard drive is erased". (Obviously, it isn't erased). I've been looking for a code to end all programs running and close down everything and can't …

Member Avatar for haranaboy
0
155
Member Avatar for Chalandria

Need help please. This program is supposed to be a do while loop and convert fahrenheit to celcius and vise versa using user defined methods but as of right now it just doesn't work. I need to make a do while loop in main method too, but was just trying …

Member Avatar for Taywin
0
125
Member Avatar for Andy_Parr

[CODE] public void mouseClicked(MouseEvent e) { store clickedStore = null; for (int i = 0; i < stores.length; i++) { if (stores[i].isClicked(e.getX(), e.getY())) { clickedStore = stores[i]; break; } } } [/CODE] Is it possible to display the result of the above loop as a string? I have tried various …

Member Avatar for haranaboy
0
87
Member Avatar for juniper2009

Dear All I am a newbie Java Learner.I try to learn over Java API Docs.But still I need some help. I have a gui which consist of four textfields(tf1,tf2,tf3,tf4) and a button(b1). If I press the button(b1)"Register", I want my action write whole textfield sources into a text.txt file by …

Member Avatar for JamesCherrill
0
113
Member Avatar for Smudly

Hi, I am currently creating the template for a website I am working on. When I resize the window, the Links and the top right image move out of place. I need these to stay in place no matter what size the window is or what resolution is using. What …

Member Avatar for teedoff
0
205
Member Avatar for CompSci_Guy

Here is my assignment: [url]https://docs.google.com/document/edit?id=1lf2t8LOqKmXK8tu8lW7ghDOd1IJw9BXBRi_PDXFtPQo&authkey=CLnyu7UE&hl=en#[/url] Here are the other classes I am using: [url]https://docs.google.com/leaf?id=0B_UHOsQPEyMBNDBhMWExNTgtMTJmNy00MTQxLWI1ZGItMDZiZjM3YTZiZjRi&authkey=CP2ujcoM&hl=en[/url] I am receiving a NullPointer on line 53: regularNumbers.enqueue(i); But, I am not sure why. Additionally, I need to display my results 12 primes per line, and a space between each. Suggestions? Thanks all for taking …

Member Avatar for haranaboy
0
156
Member Avatar for StaticX

Hello DaniWeb, Basically like the title suggests I am having trouble generating a random element from my array, and storing it in another array. I am quite new to Java, and the api is a little confusing but from what I can see there is no method for this. Searching …

Member Avatar for Eric Cute
0
178
Member Avatar for Maxprotect

Hey guys. Before I describe my problem, I'd just like to say that I'm completely new to programming, and I'm currently in the first year of my program. I have an assignment to create a "Lottery winning program". The program generates a random seven digit number, and matches it to …

Member Avatar for Maxprotect
0
2K
Member Avatar for Lxyslckr

The Vehicle.java is the file that I am modifying. The second code is the testdriver. [CODE]public class Vehicle { String make; String model; int year; public Vehicle(String s1, String s2, int y) { if (y >= 1980 && y<= 2012) { year = y; } else { y = 2010; …

Member Avatar for haranaboy
0
424
Member Avatar for dem10

I am getting the following errors when I try to compile this: thoughts? _______________________________________________________________________ BankAccount.java:11: <identifier> expected public BankAccount(String, double, double) ^ BankAccount.java:25: ')' expected public abstract void updateBalance(); ^ 2 errors ___________________________________________________________________ [CODE] protected abstract class BankAccount { public BankAccount(String, double, double) { String accountID; double balance; double interest; …

Member Avatar for stephen84s
0
123
Member Avatar for haranaboy

Ok, So the problem I am having is with the LineUps class in the getTime method. What I am trying to do in the getTime method is to get the overall time of the whole Queue list. The Queue's are really LinkLists of type Person. In Person, there are two …

Member Avatar for JamesCherrill
0
87
Member Avatar for canadian_sars

Hi Everyone! I'm really looking forward to finding some answers here. I'm trying to teach myself how to write HTML and CSS, and essentially, how to build a good website. I am a graphic designer, so I have little knowledge, but I am trying to better myself. I am wondering, …

Member Avatar for Cool&Awesome
0
163