Monday, May 26, 2008

I have tried over 100 proxy servers.
The majority doesn’t support Java script and cannot use Y! mail- even if I can enter my mailbox via them.

One or two could be used to create a user profile- enter my mailbox (only in Y! Beta mail) and even read a message.
BUT I cannot compose. It simply doesn’t want to work.

Help please - I’m getting a bit agitated!
Need the name of a proxy server which will work with all these!
Thanks
Sorry- that one isn t anonymous and doesnt work with Y!. Thanks anyway.

here is the question. i have done half of it.

a company has 4 sales persons- who sell 5 different products- once a day each salesperson passes a slip for each product sold.
the slip contains: sales person no.- product no.- total cash value for the products sold that day. the salespersons passes between (0 and 5) slips per day. Assume htat the information from the last slips for last month (30) is available. write a program that will read all the information f and summarize ie.- total sales by sales person by product. all total sales should be stored in 2-dimensional sales.

after processing all the information on last month- displaying the result in tabular with each column representing a particular salesperson and each row representing a particular product.

gross total each row to get the total sales of each product for last month. gross total each column to get the total sales per salesperson for last month.

(the part i cant do is getting the gross total and tabulating them).

here is the code so far.

import java.io.*;
public class SalesPerson {
int number;
Slip slips[];
Slip current;
InputStreamReader isr;
BufferedReader stdin;

public SalesPerson(int number_in){
number = number_in;
slips = new Slip[30];
isr = new InputStreamReader(System.in);
stdin = new BufferedReader(isr);
}


public void read(){
System.out.println("Information for person no. "+number);
System.out.println();
for(int i = 0; i < 3; i++){
System.out.println("Day "+(i+1));
current = new Slip(number);
for(int j = 0; j < 2; j++){
if(j == 0)
System.out.println("Enter product numbers");
else
System.out.println("Enter product cash values");
for(int k = 0; k < 5; k++){
try {
current.products[j][k] = Double.parseDouble(stdin.readLine());
}
catch(NumberFormatException ex) {
System.out.println(ex.getMessage());
}
catch(IOException ex) {
System.out.println(ex.getMessage());
}
}
}
slips[i] = current;
}
}

public void print(){
System.out.println("Information for person no. "+number);
System.out.println();
for(int i = 0; i < 3; i++){
current = slips[i];
System.out.println("Day "+(i+1));
for(int j = 0; j < 2; j++){
if(j == 0)
System.out.println("Product numbers");
else
System.out.println("Product cash values");
for(int k = 0; k < 5; k++){
System.out.print(current.products[j][k]+" ");

}
System.out.println();
}
System.out.println();
}
}

}


>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
import java.io.*;
public class Slip {
int personNum;
double products[][];

public Slip(int pn) {
personNum = pn;
products = new double[2][5];
}
}

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

import java.io.*;
public class Test1 {
public static SalesPerson person1- person2- person3- person4;

public Test1(){
person1 = new SalesPerson(1);
person2 = new SalesPerson(2);
}
public static void main(String[] args){
Test1 test1 = new Test1();
person1.read();
person1.print();
}

}
actually thats the whole question as it was given- and am required to use a 2d-array. my problem is- from that code- i need to get the total sales per person each day- then total sales per person per month. or if you can give the whole problem another approach without using my code. though 2d-array is required. am actually new to java (one month old). i ll appreciate your help.

I have tried over 100 proxy servers.
The majority doesn’t support Java script and cannot use Y! mail- even if I can enter my mailbox via them.

One or two could be used to create a user profile- enter my mailbox (only in Y! Beta mail) and even read a message.
BUT I cannot compose. It simply doesn’t want to work.

Help please - I’m getting a bit agitated!
Need the name of a proxy server which will work with all these!
Thanks
Any experience with Y! though?
And yes I understand the security risk- but no prob
Sorry- none of those are anonymous proxies and don t work. Thanks anyway.

i tried to open the jad files with jar. and jad. in other files.i already activated my java but still i can t open it.Any helps!?PLEASE!i so nervous to check my crash msg!weather she have a bf or not?

i have been trying to download java but it keeps on saying that it cant download with my current internet connections- i have widows xp- and have downloaded it before on the same settings- but was having trouble with it and was advised to uninstall

Hello :) My windows has just been reinstalled and now when i try to play chess on yahoo games- it gives this message: "You have an old version of the client on your cache. You will need to restart your browser. Manually clearing your browser s cache should fix the problem". I use Mozilla Firefox and Internet Explorer- but there is no difference. I am using the same versions on my older PC and the work fine. I have installed Flash Player and Java. Please if anyone has some idea how it could be fixed- let s help.
Thanks.

No comments: