اذهب إلى المحتوى
  • 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

 

 

رابط هذا التعليق
شارك على الشبكات الإجتماعية

Recommended Posts

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

انضم إلى النقاش

يمكنك أن تنشر الآن وتسجل لاحقًا. إذا كان لديك حساب، فسجل الدخول الآن لتنشر باسم حسابك.

زائر
أجب على هذا السؤال...

×   لقد أضفت محتوى بخط أو تنسيق مختلف.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   جرى استعادة المحتوى السابق..   امسح المحرر

×   You cannot paste images directly. Upload or insert images from URL.

  • إعلانات

  • تابعنا على



×
×
  • أضف...