Skip to content

Instantly share code, notes, and snippets.

View AndrewS097's full-sized avatar

Andrew Salazar AndrewS097

  • Fontana, California
View GitHub Profile
@AndrewS097
AndrewS097 / home.html
Last active March 14, 2019 20:49
Star Wars Website
<!DOCTYPE html>
<html lang="en">
<head>
<title> Star Wars Home Page </title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="stylesheet.css">
@AndrewS097
AndrewS097 / Hang-Man.cpp
Created March 10, 2019 08:22
Hang Man Game
#include <iostream>
using namespace std;
//declarations
char name [8] = {'_','_','_','_','_','_','_','_'};
char table [8];
char guess;
int mistake;
int x;
//function that shows table
void showtable3(){
@AndrewS097
AndrewS097 / ACM Problem.cpp
Created March 10, 2019 08:21
ACM Problem Solving for base of 3
#include <iostream>
#include <cmath>
using namespace std;
int main(){
int runs, input, output;
int base=1;
int test_number= pow(215, 4);
//holds input numbers
cout << "How many inputs: " << endl;
cin>> runs;
@AndrewS097
AndrewS097 / Lemonade Stand Game.py
Created March 10, 2019 07:26
Lemonade Stand Game
#Constants
Sunny = 100
Hazy = 90
Overcast = 80
Cloudy = 70
Rain = 60
multWea = .40
multTemp = .30
multPrc = .20
multPop = .10
@AndrewS097
AndrewS097 / GuessWho.py
Created March 10, 2019 07:21
Office Based Guess Who
import random
game = 1
guess_attempts=0
#pam declerations
pam_hair='brown'
pam_occupation='reception'
pam_age='medium'
pam_gender='girl'
pam_skin = 'white'
@AndrewS097
AndrewS097 / Pather_Cashier.cpp
Created March 10, 2019 07:17
Panther Cashier
#include <iostream>
#include <cmath>
using namespace std;
int main() {
string name1, name2, name3;
int price1, price2, price3, quantity1, quantity2, quantity3,sum1,sum2, sum3, beforetax, payment, change_math;
double change, taxrate, totalprice;
cout << "Unit Name: ";