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 18:10
Give heat transfer applications for the following, (i) gas turbines (propulsion) ) gas turbines (power generation). (iii) steam turbines. (iv) combined heat and power (chp). (v) automotive engines
Answers: 1
question
Engineering, 04.07.2019 18:10
What are the two (02) benefits, which may result from a successful implementation of preventive maintenance (pm) program in an organization? (clo3)a)- lean manufacturing b)-overlapping responsibilities c)-the planner is not qualified d)-accurate contractor information e)-reduction in equipment redundancies f)-accurate stores information
Answers: 3
question
Engineering, 04.07.2019 18:20
Aquick transition of the operating speed of a shaft from its critical speed will whirl amplitude. (a) increase (b) limit (c) not affect (d) zero
Answers: 2
question
Engineering, 04.07.2019 19:10
Which of the following is the most important advantage of a large field of view? a. allows larger areas to be examined b. relieves eyestrain c. minimizes parallax errors. d. increases precision in proportion to the in- crease in field of view
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
Questions on the website: 13722361