Есть ответ 👍

Составить программу на c++ для вычисления одномерного массива по формуле: ​

170
455
Посмотреть ответы 1

Ответы на вопрос:

MashaE631
4,8(95 оценок)

filename = input()

file = open(filename, 'w')

print(f'File {filename} was created')

print('What do you want to write in this file??')

while True:

   text = input()

   if not text: break

   file.write(text + '\n')

file.close()

Популярно: Информатика