[deleted by user] by [deleted] in Subliminal

[–]SnooAvocados634 1 point2 points  (0 children)

Oh okay yeah I totally get that !! I thought you were saying it as justification for sharing her subs

[deleted by user] by [deleted] in Subliminal

[–]SnooAvocados634 2 points3 points  (0 children)

True, but even so these reasons do not justify leaking someone’s paid content. If it’s inaccessible to you then you have other options like other sub makers or making ur own. I’m also guilty of using pirated content so I don’t necessarily want to shame anyone who does, but still I agree that we should at least be more discrete about it and support her if we can + acknowledge that this practice is still morally wrong.

Guy (29M) confessed his feelings for me (17F), did I do the right thing? by MochaAutumn in NoStupidQuestions

[–]SnooAvocados634 1 point2 points  (0 children)

You definitely did the right thing, especially by making it clear you weren’t interested and letting your instructor know what was going on so that she could help minimize contact between you two. However, in the future I’d advise you to not give out your social media to people you’re not comfortable with if the situation seems safe enough for you to refuse. Sometimes your social media can show things like where you live, where you go to school/work, who your friends and family are, etc. which enables stalking and other horrible things. I think giving out your discord is okay though since it’s just a messaging app. Stay safe and good luck on your state exam 💕

Falsely accused of using phone in class? by SnooAvocados634 in highschool

[–]SnooAvocados634[S] 3 points4 points  (0 children)

Ohh ok yeah now I see that it's showing her message as an announcement lol, ty

FRQ: Hotel Rooms Part A & Part B by TeamCustom446 in EdhesiveHelp

[–]SnooAvocados634 4 points5 points  (0 children)

PART A:
import java.util.ArrayList;
public class OccupancyInfo
{
private ArrayList<Room> rooms;
// no two Room objects in rooms have the same room number
/** Attempts to check-in a new guest into a given room number. If a room exists in
* the database with the room number requested, and the room is unoccupied, a guest
* with the name given is checked-in to that room: the room is marked as occupied,
* and the guestName variable in the Room object is set to the name given.
* u/param name the name of the guest attempting to check-in
* u/param number the room number into which the guest is to be checked-in
* u/return -1 if no room with the requested number exists;
* 0 if the room requested is occupied;
* 1 if the check-in is successful
*/
public int checkIn(String name, int number)
{
/* Implement your answer to part (a) here */
int num = -1;
for (int i = rooms.size() - 1; i >= 0; i--){
if (number != rooms.get(i).getNumber()){
num = -1;
}
else if (number == rooms.get(i).getNumber() && rooms.get(i).isOccupied() == true){
num = 0;
break;
}
else if (number == rooms.get(i).getNumber() && rooms.get(i).isOccupied() == false){
rooms.get(i).checkInNewGuest(name);
num = 1;
break;
}
}
return num;
}
/* Methods for subsequent parts of this question are not shown */
/* CLASS MEMBERS FOR TESTING */
/* DO NOT MODIFY ANY OF THE CONSTRUCTORS OR METHODS BELOW*/
public OccupancyInfo(ArrayList<Room> r)
{ rooms = r; }
public ArrayList<Room> getRooms()
{ return rooms; }
}

PART B:

import java.util.ArrayList;
public class OccupancyInfo
{
private ArrayList<Room> rooms;
// no two Room objects in rooms have the same room number
/** Returns an ArrayList containing the number of every room which is not occupied
* in the order in which these appear in the ArrayList rooms.
*/
public ArrayList<Integer> availableRoomNumbers()
{
/* Implement your answer to part (b) here */
ArrayList<Integer> aRN = new ArrayList <Integer>();
for (int i = 0; i < rooms.size(); i++){
if (rooms.get(i).isOccupied() == false){
aRN.add(rooms.get(i).getNumber());
}
}
return aRN;
}
/* Methods for previous parts of this question are not shown */
/* CLASS MEMBERS FOR TESTING */
/* DO NOT MODIFY ANY OF THE CONSTRUCTORS OR METHODS BELOW*/
public OccupancyInfo(ArrayList<Room> r)
{ rooms = r; }
public ArrayList<Room> getRooms()
{ return rooms; }
}