Skip to content

Commit ad05704

Browse files
added a folder for a score changing c++ file
1 parent bfd8ec8 commit ad05704

File tree

3 files changed

+17
-0
lines changed

3 files changed

+17
-0
lines changed

.DS_Store

0 Bytes
Binary file not shown.

score_Change/a.out

22.4 KB
Binary file not shown.

score_Change/score.cpp

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#include <iostream>
2+
#include <string>
3+
4+
int main ()
5+
{
6+
int score;
7+
score = 8;
8+
9+
std::cout << ": This is the origional score! \n";
10+
std::cout << "What is the score you want? ";
11+
std::cin >> score;
12+
std::cout << score << ": This is the current score ";
13+
}
14+
15+
16+
17+

0 commit comments

Comments
 (0)