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
Draw the engineering stress-strain curve for (a) bcc; (b) fcc metals and mark important points.
Answers: 1
question
Engineering, 04.07.2019 19:10
Acircular aluminum shaft mounted in a journal is shown. the symmetric clearance gap between the shaft and journal is filled with sae 10w-30 oil at t 30°c. the shaft is caused to turn by the attached mass and cord. develop and solve a differential equation for the angular speed of the shaft as a function of time.
Answers: 2
question
Engineering, 04.07.2019 19:20
Air at a pressure of 1atm and a temperature of 40 c is in parallel flow over the top surface of a flat plate that is heated to a uniform temperature of 120 c. the plate has a length of 0.40m (in the flow direction) and a width of 0.15m. the reynolds number based on the plate length is 50, 000. what is the rate of heat transfer from the plate to the air? if the free stream velocity of the air is doubled and the pressure is increased to 10 atm what is the rate of heat transfer?
Answers: 2
question
Engineering, 06.07.2019 03:10
What is the direction and how to operate the lathe?
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, 04.12.2020 21:10
question
Mathematics, 04.12.2020 21:10
question
Mathematics, 04.12.2020 21:10
question
Mathematics, 04.12.2020 21:10
question
Mathematics, 04.12.2020 21:10
question
Mathematics, 04.12.2020 21:10