Ranniel Jhon
@klausef
StevesGreatness I think you're using the wrong language. That seems to be Python that you wrote it in.1 year ago
var day = new Date();
var today = day.getDay();
var weekday = new Array(7);
weekday[0]="Sunday";
weekday[1]="Monday";
weekda
themining72 Change your code to:
// Create a Date Object
var day = new Date();
// Use getDay function to obtain todays Day.
// getDay() method returns the day of the week as a number like 0 for Sunday, 1 for Monday,….., 5
// This value is stored in today variable
var today = day.getDay();
// To get the name of the day as Sunday, Monday or Saturday, we have created an array named weekday and stored the values
var weekday = new Array(7);
weekday[0]="Sunday";
weekday[1]="Monday";
weekday[2]="Tuesday";
weekday2 years ago
Make it right pls badly need to run
https://repl.it/@klausef/Pls-Edit-or-fix#Stock.java
https://repl.it/@klausef/Pls-Edit-or-fix#StudentInfo
Java
BrightSideSide Hi, I have fixed your code and it run's beautifully. Check it out!:
https://replit.com/@BrightSideSide/It-works#Main.java10 months ago
AntimatterDev I see a problem with your code. After importing the required packages and fixing class overlaps you have a problem i dont know how to fix in this case. You dont have a main class so it comes back with the error that it cant find the main class2 years ago
i dont know what is wrong i am totally new to
this.https://repl.it/@klausef/pls-Edit#Stock.java
Java
class NewClass{
String Student_id;
String last_name;
String first_name;
String email;
public NewClass
(String Studentid,
SixBeeps 1.) What's the problem? (provide more details than necessary)
2.) Can you link a Repl?2 years ago
Dice Guessing Game 30pts
a. Generate a number between 1-6.
b. Take an input
c. If the generated number is higher than the input. Output “Higher”
d. If
Python