D
D
danilazharikov2020-06-05 14:15:11
Pascal
danilazharikov, 2020-06-05 14:15:11

How to read string data separated by spaces?

How to read this data??
I do read (a, b, c), and then writeln (c), after the entered values ​​\u200b\u200binto the line, separated by a space, displays an empty line5eda293cbe802840247362.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
H
HemulGM, 2020-06-05
@HemulGM

Read(s)
S - you will have a string entered. You cycle through it, if there is a gap, you save the first value, then the second, and so on.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question