quiz حل الأسئلة الجامعية manage_search الأرشيف

تم الحل ✓
categoryبرمجة وتطوير البرمجيات schoolبكالوريوس event_available2026-07-14

السؤال

Transcribed Image Text:

[15] Write a complete program, using proper standards, to write into a file called sum.txt. The program will ask the user for positive integer numbers, calculate the sum of the positive integer numbers, and write the list of positive numbers and their sum separated with comma into the file. The user enters -1 to terminate the program. If the user enters any negative number other than -1, display an error message.

check_circle الجواب — حل مفصل خطوة بخطوة

hourglass_top