تم الحل ✓
categoryبرمجة وتطوير البرمجيات
schoolبكالوريوس
event_available2026-07-14
السؤال
Transcribed Image Text:
Exercise #3: Write a java program that prompts the user to enter a sentence. The program has to
find the print:
a. the position of vowels in the sentence.
b. the number of vowels in the sentence (A, a, U, u, E, e, O, o, I, i)
c. the number of characters as numbers or special characters (other than English letters a..z,
A..Z). Hint: remember to ignore the spaces.
Sample input-output:
Enter the sentnse: UAEU is the university of the future #2018
The locations of vowels are: 0 1 2 3 5 10 12 14 16 19 23 28 31 33 35
The number of vowels is: 15
The number of characters as numbers or special characters is: 5
check_circle الجواب — حل مفصل خطوة بخطوة
hourglass_top
🔒
الحل الكامل متاح للمشتركين
اشترك في أرشيف الأسئلة لعرض هذا الحل وآلاف الحلول المفصلة خطوة بخطوة من معلمين معتمدين.