Showing results 1 to 37 of 37
Search took 0.01 seconds.
Posts Made By: clueless101
Forum: JavaScript / DHTML / AJAX 15 Days Ago
Replies: 2
Views: 236
Posted By clueless101
Re: Dynamic Table Creation

Never mind - added a few variables and an if clause. Problem Solved!
Forum: JavaScript / DHTML / AJAX 15 Days Ago
Replies: 2
Views: 236
Posted By clueless101
Re: Dynamic Table Creation

Never mind - added a few variables and an if clause and solved the problem.
Forum: JavaScript / DHTML / AJAX 16 Days Ago
Replies: 2
Views: 236
Posted By clueless101
Dynamic Table Creation

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>My Dynamic...
Forum: JavaScript / DHTML / AJAX Oct 2nd, 2008
Replies: 2
Views: 472
Posted By clueless101
Re: non-functioning Function - HELP!

Thanks Essential, you've helped a lot!
Forum: JavaScript / DHTML / AJAX Sep 30th, 2008
Replies: 2
Views: 472
Posted By clueless101
non-functioning Function - HELP!

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Calculate Gas...
Forum: Java Sep 26th, 2008
Replies: 29
Views: 971
Posted By clueless101
Re: Array gone awry

Here are the exact instructions-
Write a class that uses a string array object to hold 5 students' names,
an array of 5 chars to hold the 5 students' letter grades,
and 5 arrays of 4 doubles each to...
Forum: Java Sep 24th, 2008
Replies: 29
Views: 971
Posted By clueless101
Re: Array gone awry

Besides the string array and the array for 5 chars for letter grades, the class was to be written with five arrays of four doubles each to hold each student's set of test scores. I take it that I...
Forum: Java Sep 24th, 2008
Replies: 29
Views: 971
Posted By clueless101
Re: Array gone awry

import javax.swing.JOptionPane; // Needed for GUI
public class JoptionPaneTester
{
public static void main(String[] args)
{

final int STUDENTS = 5;// Number of students
final char LETTERS = 5;...
Forum: Java Sep 24th, 2008
Replies: 29
Views: 971
Posted By clueless101
Re: Array gone awry

JoptionPaneTester.java:27: cannot find symbol
symbol : variable scores
location: class JoptionPaneTester
scores [index] = JOptionPane.showInputDialog(null,"Insert 4 test scores: " +
...
Forum: Java Sep 24th, 2008
Replies: 29
Views: 971
Posted By clueless101
Re: Array gone awry

Do I have to parse the input?
Forum: Java Sep 24th, 2008
Replies: 29
Views: 971
Posted By clueless101
Re: Array gone awry

I'm no closer, only get more and more errors...

Do I start with the following:

// Get student scores
scores [index] = JOptionPane.showInputDialog(null,"Insert 4 test scores: " +
(index + 1) + ":...
Forum: Java Sep 24th, 2008
Replies: 29
Views: 971
Posted By clueless101
Re: Array gone awry

Actually, I was able to solve this first one, but the one that is stumping me is the scores[]...

Is it similar?
Forum: Java Sep 24th, 2008
Replies: 29
Views: 971
Posted By clueless101
Re: Array gone awry

How do I define "input" ?
Forum: Java Sep 24th, 2008
Replies: 29
Views: 971
Posted By clueless101
Re: Array gone awry

I've renamed inputValue to inputName and inputScores, which got rid of one error. Now, I only have the "input.next" errors @ 5.

Any other suggestions? Thanks in advance!
Forum: Java Sep 24th, 2008
Replies: 29
Views: 971
Posted By clueless101
Re: Array gone awry

Thank you for your suggestions, as these are good resources; however, I've already searched these links and can't find answers to my errors that follow:

ERROR: inputValue is already in...
Forum: Java Sep 24th, 2008
Replies: 29
Views: 971
Posted By clueless101
Re: Array gone awry

Well, two steps closer. I eliminated the repitious output by omitting

for(int i=0;i<names.length;i++)

and then leaving the names[index] in the println code.

And I got my validation to work....
Forum: Java Sep 24th, 2008
Replies: 29
Views: 971
Posted By clueless101
Re: Array gone awry

Thanks - BUT, now my output has increased to 5 lines of the same data.

Was I to add it after the if,else statements like such?



else
grade = 'F';

for(int i=0;i<names.length;i++)
Forum: Java Sep 24th, 2008
Replies: 29
Views: 971
Posted By clueless101
Re: Array gone awry

Well, I replaced the troublesome code with the following:
[icode]names [index] = input.next();[i/code]

Now, I am able to enter 5 names and their associated scores. However, my output doesn't...
Forum: Java Sep 24th, 2008
Replies: 29
Views: 971
Posted By clueless101
Re: Array gone awry

Sorry about not highlighting the compile error. When I make the proposed change, it still won't compile: cannot find symbol at
keyboard.nextString()
^
Forum: Java Sep 23rd, 2008
Replies: 29
Views: 971
Posted By clueless101
Array gone awry

This program is suppose to allow the user to enter a student's name and (4) scores via GUI, instead of Scanner class. The class is to use a String array for 5 names, an array of 5 characters to hold...
Forum: MS SQL Apr 21st, 2008
Replies: 1
Views: 1,199
Posted By clueless101
Re: Error Code 424: object required

As soon as I reviewed this posting, I realized there was an extra "." that did not belong.

rs.Employees.MoveNext

it should be: rsEmployees.MoveNext

Thanks anyway!
Forum: MS SQL Apr 21st, 2008
Replies: 1
Views: 1,199
Posted By clueless101
Error Code 424: object required

The following code coincides with an onClick event on my form to move to the next record in a file, but I keep getting the Error Code: 424, object required. I have (3) other buttons on my form:...
Forum: Java Apr 11th, 2008
Replies: 6
Views: 370
Posted By clueless101
Re: Age class and associated methods

Thanks for your suggestion, but it resulted in several errors.

I'll keep trying.
Forum: Java Apr 11th, 2008
Replies: 6
Views: 370
Posted By clueless101
Re: Age class and associated methods

Here's what I've completed for demo.

Can anyone tell me why my average displays as "0"????

Thanks in advance.



import java.util.Scanner;
Forum: Java Apr 11th, 2008
Replies: 6
Views: 370
Posted By clueless101
Re: Age class and associated methods

Actually, I considered the 1st part done.

Am I wrong?

Thanks!
Forum: Java Apr 11th, 2008
Replies: 6
Views: 370
Posted By clueless101
Age class and associated methods

I need to design an Ages class with fields to hold 3 ages and includes a constructor, accessor and mutator method. Also needed is a method that returns the average of the ages.

I also need to write...
Forum: MS Access and FileMaker Pro Apr 8th, 2008
Replies: 2
Views: 688
Posted By clueless101
Re: Creating data files

Solved this one on my own. Thanks anyway. It took me all night, but it's worth it when it works!
Forum: MS Access and FileMaker Pro Apr 7th, 2008
Replies: 2
Views: 688
Posted By clueless101
Re: Creating data files

After some persistence, I was able to create/insert records to the data file.

But, I'm not having any luck with the 2nd part of my assignment, which is to create a form permitting a user to view all...
Forum: MS Access and FileMaker Pro Apr 7th, 2008
Replies: 2
Views: 688
Posted By clueless101
Creating data files

I need to create a data file called students.dat and insert a few records into it.

I need (3) fields: 1) student id no. 2) last name 3) first name

I thought it would be pretty straight forward, but...
Forum: MS Access and FileMaker Pro Apr 1st, 2008
Replies: 1
Views: 786
Posted By clueless101
Re: 1-D Arrays

I figured this one out.

Thanks anyway!
Forum: MS Access and FileMaker Pro Apr 1st, 2008
Replies: 1
Views: 786
Posted By clueless101
1-D Arrays

This is my first exposure to arrays. I need to create a 1-dimensional string-based array with five elements. I need to assign 5 different names to the array. Use a for loop to iterate through each...
Forum: MS Access and FileMaker Pro Apr 1st, 2008
Replies: 7
Views: 1,582
Posted By clueless101
Re: Pass arguments to a Function

Thank you so much. I guess I had it somewhat backwards and mixed up.

I was just wondering about 1 more thing. What if the numbers were equal?

How would you handle that?

thanks, again.
Forum: MS Access and FileMaker Pro Mar 31st, 2008
Replies: 7
Views: 1,582
Posted By clueless101
Pass arguments to a Function

I am to create a form with 2 text boxes to receive numbers as input and 1 command button that displays a message box containing the larger of the two numbers. To do so, I need to write code in the...
Forum: Java Mar 17th, 2008
Replies: 8
Views: 743
Posted By clueless101
Re: 2 methods with arguments

Thank you so very, very much. I appreciate your guidance and patience as I've only been at this Java coding a very short while...

Have a great day!
Forum: Java Mar 17th, 2008
Replies: 8
Views: 743
Posted By clueless101
Re: 2 methods with arguments

Yes - I removed the specified line, but I only get the grade for the final test score I enter. I can input 4 scores @ 100 and 1 score @ 50 and I'm getting "Your grade is F". It should display each...
Forum: Java Mar 17th, 2008
Replies: 8
Views: 743
Posted By clueless101
Re: 2 methods with arguments

Thank you. A lot of times, I have the right code, but out of place.

I've moved the JOptionPane to the main and then had to initialize score variable to 0. However, I'm only getting one grade...
Forum: Java Mar 17th, 2008
Replies: 8
Views: 743
Posted By clueless101
Help 2 methods with arguments

I can't get this to compile. It is for a homework assignment. The program asks user for 5 test scores and is to display letter grade and average test score. I was able to get the calcAverage...
Showing results 1 to 37 of 37

 
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 11:43 pm.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC