6_triple_prompt.js 171 B

12345
  1. let surname = prompt('Фамилия');
  2. let firstName = prompt('Имя');
  3. let middleName = prompt('Отчество');
  4. alert(`${surname} ${firstName} ${middleName}`);