Lab#3: Arithmetic Expressions and more on C++ I/O
In this lab, we give you a summary and some examples on simple data types.
We expect that you will learn how to form correct arithmetic expressions
and be able to evaluate expressions with correct precedence.
Formatting C++ output is very useful sometimes.
C++ input stream is important to learn too.
Here is a list showing what you need to learn:
- Study C++ basic data types using them in your C++ programs
- Form and evaluate arithmetic expressions correctly in C++
- Learn I/O manipulators to be able to format C++ output
- Practice on using C++ input streams for different applications