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 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"> |
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
#include <iostream> | |
using namespace std; | |
//declarations | |
char name [8] = {'_','_','_','_','_','_','_','_'}; | |
char table [8]; | |
char guess; | |
int mistake; | |
int x; | |
//function that shows table | |
void showtable3(){ |
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
#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; |
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
#Constants | |
Sunny = 100 | |
Hazy = 90 | |
Overcast = 80 | |
Cloudy = 70 | |
Rain = 60 | |
multWea = .40 | |
multTemp = .30 | |
multPrc = .20 | |
multPop = .10 |
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 random | |
game = 1 | |
guess_attempts=0 | |
#pam declerations | |
pam_hair='brown' | |
pam_occupation='reception' | |
pam_age='medium' | |
pam_gender='girl' | |
pam_skin = 'white' |
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
#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: "; |