• 0

ممكن حل هاد السؤال لجافا

 Problem Description: Given an input text file, you have to read this file, gets all the vowels in the file (A, E, I, O, U) and store them in a map data structure. Your map should consider the exact location of the key (its row number and its column number in the text) as the key of each vowel. The value of the vowel should be its value in the upper case form.

Read a text file whose location is inputted by the user. 

Get each vowel in the text file.

. Create a map which stores information about the extracted vowels as follows:

a. The key stores the location of the vowel in the text file. The location includes the row number and the column number of the vowel in the text file

b. The value stores the vowel itself, but in lower case..

4. Make sure that your map sorts the vowels alphabetically using their values.

5. Make all the vowels in uppercase and modify them in their corresponding location in the text file

 

 

انشر على الشّبكات الاجتماعية


رابط هذه المساهمة

لا توجد أي إجابات على هذا السؤال بعد


يجب أن تكون عضوًا لدينا لتتمكّن من التعليق

انشاء حساب جديد

يستغرق التسجيل بضع ثوان فقط


سجّل حسابًا جديدًا

تسجيل الدخول

تملك حسابا مسجّلا بالفعل؟


سجّل دخولك الآن