تم الحل ✓
categoryهندسة الحاسبات
schoolبكالوريوس
event_available2026-07-15
السؤال
Transcribed Image Text:
1
Create a program called CountUpBy5.
from the user as input. If the given input is not a positive input it should prompt the user to
retry
Hint: use a While-loop for this
2
and print them out on a single line on the screen.
Hint: use a For-loop or a While-loop for this
Modify the CountUpBy5 program in Part 1 and call it CountByC to accept another number
C, by which it will count up to n, the second user provided number.
.
Obviously, you have to ensure that C is greater than 0.
C may also be a fraction, and does not need to be an integer.
check_circle الجواب — حل مفصل خطوة بخطوة
hourglass_top
🔒
الحل الكامل متاح للمشتركين
اشترك في أرشيف الأسئلة لعرض هذا الحل وآلاف الحلول المفصلة خطوة بخطوة من معلمين معتمدين.