CSE 114 Study Guide - Final Guide: Escape Character, Decimal Mark

27 views1 pages

Document Summary

Be sure to show your code to one of the lab tas before you leave, so that you can receive credit for this lab. Words are always separated by a single space. Your program should print only the third word from the input. Assume that the input always contains at least four words . Sample execution: (program output is shown here in italics, while user input is shown here in boldface) Please enter a sentence with at least four words: use extension x-5001 to reach me. Round your answers to keep no more than four digits after the decimal point. The columns do not need to line up exactly, but there should be a clear separation between each value in each table row (hint: careful use of the (tab) escape character may help here). Grading guidelines: this lab is graded on a scale of 0-3 points, assigned as follows: