Career Preparation

This is the part of school that prepares me for life in the real world, where I have a career and the responsibilities of having to get work done on time. A great part of career preparation is finding good work and researching skills, as well as having to learn how to manage time efficiently to get things done on time without having to cram it all in in the last few days.

A professional resume is a document that will inform employers about your past information. For part of my career preparation, I made the resume. Both the cover letter and resume can be accessed by using the links provided below.

Also, for a future career, I want to be a computer engineer/programmer, and to help in this process I am taking Java Oracle. In this class, we write simple programs in Java. Here is a copy of one of the programs myself and two partners worked for a class project. This is just the text, and I am currently in the process of learning how to display it on the web, but for now, here's the code.

 

/*

22nd Century Home Upgrades

*/

public class Upgrades {
public static void main(String args[]) {

double receiptprice[] = new double[12];
String receiptitem[] = new String[12];
String item[] = new String[12];
double prices[] = new double[12];
double total = 0;
int ft = 1, rms = 0, fntr, cshn, upgrades, flr, ii, drs, conf, counter1,
counter2, counter3,
counter4, counter5, counter6, counter7, counter8, z, y, eiw, ale, v, x,
tbls;
String address1, address2, address3, address4, address5;

x = v = eiw = y = z = 0;

counter1 = counter2 = counter3 = counter4 = counter5 = counter6 = counter7
= counter8 = 0;

item[0] = "Conveyor Belt Walkways";
item[1] = "Air Pods";
item[2] = "Furniture Vaccuums";
item[3] = "for 2 cushion couch";
item[4] = "for tables";
item[5] = "for floor";
item[6] = "Bathroom Robot";
item[7] = "with built-in flat screen TV";
item[8] = "with leather seating";
item[9] = "with smell dissipation system";
item[10] = "with built-in bidet";
item[11] = "Electric Door";

prices[0] = 1000;
prices[1] = 20000;
prices[2] = 200;
prices[3] = 500;
prices[4] = 200;
prices[5] = 100;
prices[6] = 8000;
prices[7] = 1000;
prices[8] = 300;
prices[9] = 200;
prices[10] = 800;
prices[11] = 1000;

System.out.println("22nd Century is a company that puts families first.\n");
System.out.println("Have you ever come home so tired that you just wanted to collapse on the floor? Well now you can! Our new technology created by our engineering experts will allow you to do this and find yourself in your bed when you wake up. With this newly developed technology we have created a number of different products that will make the life of your family
similar to that of the Jetsons.\n");
System.out.println("Our first priority is to make your life as easy as possible. Some of our products include conveyor belts around the house that take you wherever you want, air pods that take you to the different rooms of your house, furniture with built in vacuums to keep your house clean, bathroom robot that is a remote control mobile toilet, and the list goes on and on with even more products in development.\n");
System.out.println("With 22nd Century products you'll always be the one with the greener grass, and cleaner toilets. Now you owe it to yourself to try 22nd Century products, go ahead and give us a call at 1-800-PHONE-US! You won't forget it!\n");
System.out.println("\n\n*****************************************************************

***************");
System.out.println("Welcome to 22nd Century Ordering Section\n");
System.out.println("Please select your product by pressing the number before it.\n");
System.out.println("DO NOT PRESS LETTERS UNLESS SPECIFIED TO!!!");
System.out.println("--------------------------------------------------------------------------------\n");

for(int b=1;;b++) {
try {
System.out.println("\nPlease select an item: (Select 0 to proceed with checkout)\n");

for(int a = 1; a <6; a++) {

switch(a) {
case 1:
System.out.println("(1) " + item[0]);
continue;
case 2:
System.out.println("(2) " + item[1]);
continue;
case 3:
System.out.println("(3) " + item[2]);
continue;
case 4:
System.out.println("(4) " + item[6]);
continue;
case 5:
System.out.println("(5) " + item[11]);
case 0:
break;
}
}

x = MyInput.readInt();
if(x == 1) {
System.out.println("You selected item 1, the " + item[0] + "\n");
System.out.println("Prices: $" + prices[0] + " + $50.0 per foot.");
System.out.print("Please specify the amount of extra feet needed: ");
ft = MyInput.readInt();

receiptitem[z] = item[0];
prices[0] += ft * 50;
receiptprice[z] = prices[0];
z++;
y = z;
}
else if(x == 2){
System.out.println("You selected item 2, the " + item[1]);
System.out.println("Prices: $" + prices[1] + " for up to four rooms + $6000.0 per additional room.");
System.out.print("Please specify the amount of additional rooms: ");
rms = MyInput.readInt();
receiptitem[z] = item[1];
prices[1] += rms * 6000;
receiptprice[z] = prices[1];
z++;
y = z;
}
else if(x == 3){
System.out.println("You selected item 3, the " + item[2]);
System.out.println("Prices: $" + prices[2] + " for installation. ");
System.out.println("Please specify the type of furniture for installation.");
for(int owe = 0;; owe++){
System.out.println("(1) Vaccuum installation " + item[3] + "\nPrices: $" + prices[3] + "\n(2) Vaccuum installation " + item[4]
+ "\nPrices: $" + prices[4] + "\n(3) Vaccuum installation " + item[5] + " \nPrices: $" + prices[5] + "\n(Press 0 to continue shopping.)");
fntr = MyInput.readInt();
if(counter8 == 0) {
receiptitem[z] = item[2];
receiptprice[z] = prices[2];
z++;
y = z;
counter8 = 1;
}
switch(fntr) {
case 1:
System.out.println("You have selected Furniture vaccuums " + item[3] + " \nPrices: $" + prices[3] + " + $150.0 Per additional cushion.\n");
System.out.print("Please specify how many additional cushions you will require: ");
cshn = MyInput.readInt();
receiptitem[z] = item[3];
receiptprice[z] = prices[3] * cshn;
z++;
y = z;
counter5++;
continue;
case 2:
System.out.println("You have selected Furniture vaccuums " + item[4] + " \nPrices: $" + prices[4] + "\n");
System.out.print("Please specify how tables you would like vaccuums on: " );
tbls = MyInput.readInt();
receiptitem[z] = item[4];
receiptprice[z] = prices[4] * tbls;
z++;
y = z;
counter6++;
continue;
case 3:
System.out.println("You have selected Furniture vaccuums " + item[5] + " \nPrices: $" + prices[5] + " Per square foot.\n");
System.out.println("Please specify how many square feet you will be needing.");
flr = MyInput.readInt();
receiptitem[z] = item[5];
receiptprice[z] = prices[5] * flr;
z++;
y = z;
counter7++;
continue ;
case 0:
break;
}
break;
}

}
else if(x == 4){
System.out.println("You selected item 4, the " + item[6]);
System.out.println("Prices: $" + prices[6] + " plus any upgrade costs. ");
System.out.println("Would you like any upgrades? (1 = Yes, 2 = No)");
upgrades = MyInput.readInt();
receiptitem[z] = item[6];
//price[0] += ft * 50;
receiptprice[z] = prices[6];
z++;
y = z;
if(upgrades == 1){
System.out.println("What additional upgrades would you like?");
for(int asl = 0;; asl++){
System.out.println("(1) " + item[7] + "\nPrices: $" + prices[7] + "\n(2) " + item[8] + "\nPrices: $" + prices[8] + "\n(3) " + item[9] + "\nPrices: $" + prices[9] + "\n(4)" + item[10] + " \nPrices: $" + prices[10] + "\n(Press 0 for no upgrades or to exit.)");
ii = MyInput.readInt();
switch(ii) {
case 1:
if(counter1 == 0)
System.out.println("You have upgraded " + item[7] + "\nPrices: $" + prices[7] + "\nPlease select an option\n");
receiptitem[z] = item[7];
//price[7] += ft * 50;
receiptprice[z] = prices[7];
z++;
y = z;
counter1++;
continue;
case 2:
if(counter2 == 0)
System.out.println("You have upgraded " + item[8] + "\nPrices: $" + prices[8] + "\nPlease select an option\n");
receiptitem[z] = item[8];
//price[8] += ft * 50;
receiptprice[z] = prices[8];
z++;
y = z;
counter2++;
continue;
case 3:
if(counter3 == 0)
System.out.println("You have upgraded " + item[9] + "\nPrices: $" + prices[9] + "\nPlease select an option\n");
receiptitem[z] = item[9];
//price[9] += ft * 50;
receiptprice[z] = prices[9];
z++;
y = z;
counter3++;
continue;
case 4:
if(counter4 == 0)
System.out.println("You have upgraded " + item[10] + "\nPrices: $" + prices[10] + "\nPlease select an option\n");
receiptitem[z] = item[10];
//price[10] += ft * 50;
receiptprice[z] = prices[10];
z++;
y = z;
counter4++;
continue;
case 0:
break;
}
break;
}
}
}
else if(x == 5){
System.out.println("You selected item 5, the " + item[11]);
System.out.println("Prices: $" + prices[11]);
System.out.print("Please specify the amount of doors: ");
drs = MyInput.readInt();
receiptitem[z] = item[11];
//prices[11] += drs * 1000;
receiptprice[z] = drs * prices[11];
z++;
y = z;
}
else if(x == 0){
System.out.println("You have ordered the following: ");
for(z = 0; z <= y; z++){
total = total + receiptprice[z];

if(receiptitem[z] == null) {
break;
}
System.out.println(receiptitem[z]);

}
System.out.println("Your total is: $" + total + "\n");
total = 0;
System.out.println("Is this what you wanted? (1 = Yes, 2 = No, restart)");
conf = MyInput.readInt();
if(conf == 2) {
for(z = 0; z <= y; z++){
if(receiptitem[z] == null) {
break;
}
receiptitem[z] = "";
receiptprice[z] = 0;
}
}
if(conf == 1) {
System.out.println("Would you like to continue shopping? (1 = Yes, 2 = No)");
eiw = MyInput.readInt();
if(eiw == 2){
break;
}
if(eiw == 2) break;
}
}

else {
System.out.println("\nHow about NO!!!");
}
}
catch (NumberFormatException exc) {
System.out.println("\nHow about NO!!!");
}

if(eiw == 2){
break;
}
}
System.out.println("Shipping information:\nWe only ship in the U.S. and shipping is free.\n");
System.out.print("Name: ");
address1 = MyInput.readString();
System.out.print("Street Address: ");
address2 = MyInput.readString();
System.out.print("City: ");
address3 = MyInput.readString();
System.out.print("State: ");
address4 = MyInput.readString();
System.out.print("Zip Code: ");
address5 = MyInput.readString();
System.out.println("\nYou entered the following address: \n" + address1 + " \n" + address2 + "\n"+ address3 + ", " + address4 + " " + address5 + "\nIs this information correct? (1 = Yes, 2 = No)");
x = MyInput.readInt();
if(x == 2){
for(int ers = 0;; ers++){
System.out.print("Which part is incorrect? ");
System.out.println("1 = Name, 2 = Street Address, 3 = City, 4 = State, 5 = Zip Code, 6 = Finished");
ale = MyInput.readInt();
switch(ale) {
case 1:
System.out.print("Name: ");
address1 = MyInput.readString();
continue;
case 2:
System.out.print("Street Address: ");
address2 = MyInput.readString();
continue;
case 3:
System.out.print("City: ");
address3 = MyInput.readString();
continue;
case 4:
System.out.print("State: ");
address4 = MyInput.readString();
continue;
case 5:
System.out.print("Zip Code: ");
address5 = MyInput.readString();
continue;
case 6:
break;
}
System.out.println("\nYou entered the following address: " + address1 + " \n" + address2 + "\n" + address3 + ", " + address4 + " " + address5 + "\nIs this information correct? (1 = Yes, 2 = No)");
v = MyInput.readInt();
if(v == 1){
break;
}
}
}
System.out.println("+++++++++++++++++++++++++++++++++++++++++++++

+++++++++++++++++++++++++++++++++++" + "\nReciept: ");
System.out.println("You have ordered the following: ");
for(z = 0; z <= y; z++){
total = total + receiptprice[z];

if(receiptitem[z] == null) {
break;
}
System.out.println(receiptitem[z]);
}
System.out.println("Your total is: $" + total + "\n");
total = 0;
System.out.println("This will all be sent to: \n" + address1 + "\n" + address2 + "\n" + address3 + ", " + address4 + " " + address5);
System.out.print("Your order confirmation number is : " + (Math.random() * 100000000));
System.out.println("\n\nPlease write this number down " + "as you will need it to confirm your order when it arrives. \n");
System.out.println("@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@")
System.out.println("Thank You for shopping with 22nd Century. We hope you had a pleasant experience and hope you will return.");
}
}