Review Questions


  1. How do you cause the cursor to move to the next line when performing screen output?

  2. What does the escape key \b do?

  3. How would you direct input from the keyboard to a variable called amountentered?

  4. To use cin, you must import what file?

  5. Is this statement/expression correct?

    cout>> “Hello World”;

  6. What does the escape key \t do?

  7. How would you output a literal text such as “The answer is” and the variable that holds the answer (let’s call it answer) on the same line?

  8. How would you create a new line if you were writing code in C instead of C++?

  9. How would you put literal quotes in your output?

  10. What is the purpose of the setf function?




C++ Programming Fundamentals
C++ Programming Fundamentals (Cyberrookies)
ISBN: 1584502371
EAN: 2147483647
Year: 2005
Pages: 197
Authors: Chuck Easttom

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net