diff options
| author | JacobAKnox <[email protected]> | 2021-10-06 20:36:31 -0700 |
|---|---|---|
| committer | JacobAKnox <[email protected]> | 2021-10-06 20:36:31 -0700 |
| commit | 9afdeb797d71c7299f1a2657af89dcfaa296aee3 (patch) | |
| tree | 275841cf914bf82672d35b597cf61ae25cbd4dbf /3c/4.13.2Exercises/4.13.2Execises/4.13.2Execises.cpp | |
| parent | delete old files (diff) | |
| download | archived-cst116-lab2-jacobaknox-9afdeb797d71c7299f1a2657af89dcfaa296aee3.tar.xz archived-cst116-lab2-jacobaknox-9afdeb797d71c7299f1a2657af89dcfaa296aee3.zip | |
3c exercises
Diffstat (limited to '3c/4.13.2Exercises/4.13.2Execises/4.13.2Execises.cpp')
| -rw-r--r-- | 3c/4.13.2Exercises/4.13.2Execises/4.13.2Execises.cpp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/3c/4.13.2Exercises/4.13.2Execises/4.13.2Execises.cpp b/3c/4.13.2Exercises/4.13.2Execises/4.13.2Execises.cpp new file mode 100644 index 0000000..9d9ee84 --- /dev/null +++ b/3c/4.13.2Exercises/4.13.2Execises/4.13.2Execises.cpp @@ -0,0 +1,18 @@ +// 4.13.2Execises.cpp : This file contains the 'main' function. Program execution begins and ends there. +// + +#include <iostream> +using std::cout; + +int main() +{ + char ascii = 67; + + cout << ascii << '\n'; + + ascii = 43; + cout << ascii << '\n'; + cout << ascii << '\n'; + + return 0; +} |