Displaying a Home Address Correctly

3 views (last 30 days)
MichaelStudent
MichaelStudent on 30 Oct 2013
Answered: dpb on 30 Oct 2013
For a class project we have to create a Pizza shop order system, where the custom orders through a series of menus and input dialog. We then have to recall 4 inputs from a dialog as strings and concatenate them into one string with one space between each substring. The inputs are where the customer is entering their street address, city , state, and then zip code. We would like to then display them with the "street address" and then "City, State and Zipcode" on a line below it. Which function allows us to do this?

Answers (1)

dpb
dpb on 30 Oct 2013
doc sprintf % and friends

Categories

Find more on Data Type Conversion in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!