This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
run else elsif enter |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys | |
from datetime import date | |
def zeller(day, month, year): | |
if month==1 or month==2: | |
month+=12 | |
year-=1 | |
h = ( ( day +( (month+1) * 26 // 10)+ year +( year // 4)+ 6 * (year // 100)+ (year // 400)) % 7 )+6 | |
return h%7 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
puts "Welcome to Khadijah's homework" | |
loop do | |
puts "Enter (1)\tList all trains" | |
puts "Enter (2)\tView Stations for single train line" | |
puts "Enter (Q)\tQuit and exit" | |
print "Please choose an option: " | |
choice = gets.chomp | |
if choice == "1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
puts "Welcome to Khadijah's homework" | |
loop do | |
puts "Enter (L)/tThe (L) Train" | |
puts "Enter (N)/tThe (N) Train" | |
puts "Enter (S)/tThe (S)ix Train" | |
puts "Enter (Q)/tQuit and exit" | |
print "Please choose an option: " | |
choice = gets.chomp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
puts "Welcome to Khadijah's homework" | |
puts "The (L) Train" | |
puts "The (N) Train" | |
puts "The (S)ix Train" | |
print "Please choose an option: " | |
choice = gets.chomp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
puts "Welcome to Khadijah's homework" | |
puts "The (L) Train" | |
puts "The (N) Train" | |
puts "The (S)ix Train" | |
print "Please choose an option: " | |
choice = gets.chomp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |
<title>Khadijah Camille</title> | |
<meta name="author" content="Khadijah Camille Celestine" /> | |
<meta name="description" content="My about me page for General Assembly's WDI" /> | |
<meta name="keywords" content="" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.Random; | |
import java.util.Scanner; | |
public class PasswordGenerator { | |
Random rand = new Random(); | |
char numbers[] = "1234567890".toCharArray(); | |
char lower[] = "abcdefghijklmnopqrstuvwxyz".toCharArray(); | |
char upper[] = "abcdefghijklmnopqrstuvwxyz".toUpperCase().toCharArray(); | |
String choices = generateChoices(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.Random; | |
import java.util.Scanner; | |
public class PasswordGenerator { | |
Random rand = new Random(); | |
char numbers[] = "1234567890".toCharArray(); | |
char lower[] = "abcdefghijklmnopqrstuvwxyz".toCharArray(); | |
char upper[] = "abcdefghijklmnopqrstuvwxyz".toUpperCase().toCharArray(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Stewie { | |
public static void main(String [] args) { | |
System.out.println("//////////////////////"); | |
System.out.println("|| Victory is mine! ||"); | |
System.out.println("\\\\\\\\\\\\\\\\\\\\\\"); | |
} | |
} |
NewerOlder