----
Answer and discuss the following questions:
2/6/13
* [[cPlusPlusMain | Which method first?]]
* [[cPlusPlusCout1 | Which cout statement?]]
2/13/13
* [[cPlusPlusScope | Global or local variables? I]]
* [[cPlusPlusScope2 | Global or local variables? II]]
* [[cPlusPlusTypes | Assigning I]]
* [[cPlusPlusTypes2 | Assigning II]]
----
Complete these programming projects:
1. Write a program ''c2f.cpp'' that inputs a temperature in Celcius, converts it to Fahrenheit, and outputs the temperature in Fahrenheit.
2. Write a program ''c2fLoop.cpp'' that uses a loop to input temperatures in Celcius, convert each input temperature to Fahrenheit, output each temperature in Fahrenheit, and then repeat until the user terminates the program. For example:
Enter Celcius temperature: 0
Fahrenheit temperature: 32
Enter Celcius temperature: 100
Fahrenheit temperature: 212
Enter Celcius temperature: 50
Fahrenheit temperature: 122
... (continues until user terminates program)
3. Write a program ''box.cpp'' that inputs the size of a square and then outputs a square of that size using a character such as *. For example:
Input the size of the square: 5
*****
* *
* *
* *
*****
----