subject
Engineering, 18.11.2019 19:31 24lbriscoe

4.chapter 8: (p. 515) problem 6 (modified)a. name your program file lab10p4. don’t do the problem as stated. instead, read in 1 row of data at a time, parse it, re-format it and re-display it on the screen. b.let the inputs be (last name, first name, age): boomer, baby 1lady, old 101ryan, elizabeth 62mcintyre, osborne 84c. read the whole line of data as a single string. don’t echo print it. d.separate this string into 3 pieces into three separate strings, lname, fname, and age. hint: use the indexof()command to look for the index of the first and second spaces in the string. that will you know where to divide, or separate the string. then reconstruct a new string in the format: baby boomer 1old lady 101elizabeth ryan 62osborne mcintyre 84 f. finally, display the reformatted line on the serial monitor. g.go back to the beginning of the program to get another line of data and process it as you did the first line. this will be an infinite loop.

ansver
Answers: 1

Another question on Engineering

question
Engineering, 04.07.2019 03:10
What precautions should you take to prevent injuries when dealing with heavy loads?
Answers: 1
question
Engineering, 04.07.2019 18:10
The higher the astm grain-size number, the coarser the grain is. a)-true b)-false
Answers: 3
question
Engineering, 04.07.2019 18:10
Draw the engineering stress-strain curve for (a) bcc; (b) fcc metals and mark important points.
Answers: 1
question
Engineering, 04.07.2019 18:10
The higher the astm grain size number, the finer the gran is. a)-true b)-false
Answers: 2
You know the right answer?
4.chapter 8: (p. 515) problem 6 (modified)a. name your program file lab10p4. don’t do the problem a...
Questions
question
Mathematics, 12.12.2019 04:31
question
Mathematics, 12.12.2019 05:31
Questions on the website: 13722362