Skip to content

Commit

Permalink
Got rid of unrelated code from another project
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnLu2004 committed Feb 6, 2024
1 parent c2c0576 commit 2ec1532
Showing 1 changed file with 1 addition and 48 deletions.
49 changes: 1 addition & 48 deletions content/events/2023-2024/2024-01-25-ai-talk.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,51 +20,4 @@ tags:
Click [here](/pdfs/2023-2024/Safeguarding-Tomorrow-The-Critical-Role-of-AI-Safety.pdf) to view the slides.

## Recording
Click [here]() to view recordings







Customer richestCustomer = Customers[0];
for (int i = 1; i < Customers.Length; i++)
{
if (Customers[i].TotalPurchases > richestCustomer.TotalPurchases)
{
richestCustomer = Customers[i];
}
}
return richestCustomer;

//walmart.rob(walmart.customers[11]);
public getAge()
public getName()
public getMoney()

class Store{
//attributes
//pretty sure static makes all store objects share the same LATEST_ID value
static int LATEST_ID;

//methods
addCustomer(){
//create new customer object
//set customer's rewardsID to LATEST_ID
new customer.setRewardsID(LATEST_ID);
//increment LATEST_ID
LATEST_ID++;

}
}

class Customer{
//attributes
private rewardsID;
//methods
public setRewardsID(){
//set rewardsID to LATEST_ID
//increment LATEST_ID
}
}
Click [here]() to view recordings

0 comments on commit 2ec1532

Please sign in to comment.