1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209
|
#include <iostream>
#include <fstream>
#include <string>
using namespace std;
int main()
{
cout<<"Please enter 5 champions for team 1, 1 at a time."
cin>>T1C1
cout<<T1C1 ", "
cin>>T1C2
cout<<T1C1 ", " T1C2 ", "
cin>>T1C3
cout<<T1C1 ", " T1C2 ", " T1C3 ", "
cin>>T1C4
cout<<T1C1 ", " T1C2 ", " T1C3 ", "
cin>>T1C4
cout<<T1C1 ", " T1C2 ", " T1C3 ", " T1C4
cin>>T1C5
cout<<"Team 1:" T1C1 ", " T1C2 ", " T1C3 ", " T1C4, ", " T1C5 \n
cout<<"Now please enter the 5 champions for team 2 (Still 1 at a time):"
cout<<T2C1 ", "
cin>>T2C2
cout<<T2C1 ", " T2C2 ", "
cin>>T2C3
cout<<T2C1 ", " T2C2 ", " T2C3 ", "
cin>>T2C4
cout<<T2C1 ", " T2C2 ", " T2C3 ", "
cin>>T2C4
cout<<T2C1 ", " T2C2 ", " T2C3 ", " T2C4
cin>>T2C5
Aatrox == 47.9
Ahri == 53.1
Akali == 50.5
Alistar == 50.2
Amumu == 53.5
Anivia == 49.2
Annie == 51.9
Ashe == 52.7
Aurelion Sol == 51.5
Azir == 48.9
Bard == 48.5
Blitzcrank == 52.6
Brand == 51.5
Braum == 51.2
Caitlyn == 50.6
Cassiopeia == 38.7
Cho'Gath == 49.7
Corki == 45.8
Darius == 50.6
Diana == 48.9
Dr.Mundo == 48.6
Draven == 49.6
Ekko == 52.8
Elise == 50.2
Evelynn == 48.6
Ezreal == 49.3
Fiddlesticks == 54
Fiora == 47.7
Fizz == 51.4
Galio == 52.1
Gangplank == 50.6
Garen == 50.9
Gnar == 48.7
Gragus == 50
Graves == 49.2
Hecarim == 51.1
Heimerdinger == 49.2
Illaoi == 44.6
Janna == 52.6
Jarvin IV == 50.2
Jax == 45.8
Jayce == 49.1
Jhin == 49.5
Jinx == 52.1
Kalista == 46.9
Karma == 49.1
Karthus == 51.2
Kassadin == 48.8
Katarina == 50.8
Kayle == 51.7
Kennen == 50.4
Kha'Zix == 51.2
Kindred == 50.4
Kog'Maw == 51.1
LeBlanc == 47.6
Lee Sin == 47.5
Leona == 50.2
Lissandra == 50.3
Lucian == 49.9
Lulu == 47.3
Lux == 49
Malphite == 50
Malzahar == 57.3
Maokai == 51.7
Master Yi == 43.6
Miss Fortune == 50.1
Mordekaiser == 48.9
Morgana == 51
Nami == 51.8
Nasus == 49.9
Nautilus == 49.6
Nidalee == 50.2
Nocturne == 50.4
Nunu == 48.3
Olaf == 49.7
Oriana == 49.4
Pantheon == 51.5
Poppy == 46.3
Quinn == 52
Rammus == 51
Rek'Sai == 49.4
Renekton == 50.1
Rengar == 49.8
Riven == 49.8
Rumble == 51.2
Ryze == 49.3
Sejuani == 53
Shaco == 50.5
Shen == 50
Shyvana == 47.1
Singed == 49.6
Sion == 53.2
Sivir == 52.8
Skarner == 53.6
Sona == 51.8
Soraka == 51.3
Swain == 38.6
Syndra == 47
Tham Kench == 45.3
Talon == 51
Taric == 51
Teemo == 50
Thresh == 48.4
Tristana == 46.7
Trundle == 50.8
Tryndamere == 49.3
Twisted Fate == 50.6
Twitch == 52.4
Udyr == 46.6
Urgot == 48.4
Varus == 48.5
Vayne == 48.2
Veigar == 50.3
Vel'Koz == 48.3
Vi == 51.3
Viktor == 51.8
Vladimir == 41.6
Volibear == 53.7
Warwick == 49
Wukong == 52.8
Xerath == 49.4
Xin Zhao == 45.5
Yasuo == 50.3
Zac == 52.7
Zed == 50.3
Ziggs == 50
Zilean == 52.2
Zyra == 53
Yorick == 47
Irelia == 51.2
Team1Total = (T1C1 + T1C2 + T1C3 + T1C4 + T1C5) / 5
Team2Total = (T2C1 + T2C2 + T2C3 + T2C4 + T2C5) / 5
if Team1Total > Team2Total
temp = Team1
cout<<"Team 1 (" T1C1, T1C2 ,T1C3, T1C4, T1C5 ") is more likely to win this game."
if Team1Total = Team2Total
cout<<"Both teams have an equal chance of winning!"
##quit
else Team2Total > Team1Total
temp = Team2
cout<<"Team 2 (" T1C1, T1C2 ,T1C3, T1C4, T1C5 ") is more likely to win this game."
cout<<"Determined Victor: "
cin>>victor
if victor = temp
cGuess + 1
else:
wGuess + 1
cout<<temp " beat the odds and statistics!"\n"Correct:" cGuess " Wrong:" wGuess
return 0;
}
|