Seminar 10 strings PDF

Title Seminar 10 strings
Course Comp
Institution Thompson Rivers University
Pages 1
File Size 84.3 KB
File Type PDF
Total Downloads 100
Total Views 134

Summary

STRINGS...


Description

COMP113 0 Seminar #10: String methods Due Date: Tuesday November 27 or Wednesday November 28, 2018 Seminar Exercise (done with the professor) Ask the user to input a name in this format: last_name/first_name/middle_name. Your program will then output the name in this format: first_name middle_initial. last_name Problem – name input A user will be asked to input their name in this format: First nameMiddle nameLast name For example, the input might be John Robert

Doe

any number of spaces in these positions Using the String methods, create this output: Doe, John R. Your input must have a number of spaces in each of the positions shown above.

Assignment Submission: Submit a print-out of the application program, and the output produced....


Similar Free PDFs