Forgot your password?
typodupeerror
User Journal

Journal Journal: the ballancing act

//a simple program to make two integers equal, notworthy in the sense that I
//wondered how it would work an actually wrote it up and got it working, rather
//easily at that.

import javax.swing.*;

public class equalizer {
User Journal

Journal Journal: monk ascension

randomx, chaotic male human Monk

---------------

User Journal

Journal Journal: remember:

Break from all your static patterns

User Journal

Journal Journal: arc ascension

took long enough, but it was actually pretty easy once i got going.
----------
randomx, lawful male dwarven Archeologist

User Journal

Journal Journal: first wizard ascension

randomx, chaotic male elven Wizard

---------------
|.../....``5..|
|/`---------.`-- ---------
|`.|..`....|..`-- - *% % --
|.`|.%'`.`%|```.--- % % - -+-
|..|).[@&%aa&@[`.``%$% % % .
|``|.[..'`.|``%.--- % % %- .
|.`|[(..f..|..%-- %) -- |
|``---------[%-- --$----

User Journal

Journal Journal: You have ascended to demigod-hood...

1 10441134 Phaedrus-Val-Hum-Mal-Neu ascended to demigod-hood. 328 [328]

Took me about 3 days for the actually ascension. Took about 10 months since I started playing.

User Journal

Journal Journal: Rectangle and RectangleTest(last homework for cs1)

/*Create a class Rectangle. The class has attributes length and width, each
*of which defaults to 1. It has methods that calculate the perimiter and the
*area of the rectangle. It has set and get methods for both length and width.
*The set methods should verify that length and width are each floating-point
*numbers larger than 0.0 and less than 20.0. Write a program to test class
*rectangle. 8.8*/
User Journal

Journal Journal: product and testProduct

//used with testProduct for take home test in cs, just finish it ;), making ascii faces at myself...

import java.text.*;

public class product {

private String name;
private double price;
private static DecimalFormat money = new DecimalFormat( "$0.00" );

public void Product()
{
User Journal

Journal Journal: numberArray

this ones still in the works, i wish this had been assigned or i'd borthered to write a program with array's before i bombed that test cause its only through actually writing the code and debugging that i seem to learn anything, as seems to be my way.

/*a logical error still exists*/
User Journal

Journal Journal: minimum3

/*method to return the smallest of three floating-point numbers.
*Uses Math.min method to impliment, an applet that that reads three values
*from the user and determines the smallest value. Displays the result in
*a status bar */

import javax.swing.*;
import java.awt.Container;

public class Minimum3 extends JApplet{

String number0, number1, number2;
double num0, num1, num2;
User Journal

Journal Journal: Sales

/*A mail-order house sells five different products, whose retail prices are as
follows: product 1, $2.98; product 2, $4.50; product 3, $9.98; product 4, $6.87.
Write an application that reads a series of pairs of numbers as follows:
product number. quantity sold for one day. Your program should use a switch
statement to help determine the retail price for each product. It should
calculate and display the total retail value of all product sold last week. Use
a JOptionPane to
User Journal

Journal Journal: Palindrome

//this program test if 5 digit number is a palindrome or not,
//problem with loop

import java.awt.*;
import javax.swing.JOptionPane;

public class Palindrome {

Slashdot Top Deals

Someone is unenthusiastic about your work.

Working...