As an introduction to programming in C++, let's use an example program to convert between Fahrenheit and Celsius temperatures. These examples assume you already have some knowledge of a programming language involving variables and assignment, decision and looping statements, and input/output (I/O).
Note that in the examples above you can move the bar between the two windows to make one of them (top or bottom) larger.