السلام عليكم ورحمة الله وبركاته
كيفكم يا اخوتي في الله <<<تعبت على الجمله
المهم ان شالله تكونو باحسن حال
حبيت اسالكم واتمنى انكم تكونو زي ما اقرا انكم
بذالمنتدى تساعدو على طول
والله كم وحده نصحتني اسال بمنتدى جامعة الملك عبدالعزيز
فإن شاء الله تكونو زي ماقالو وانا متاكده انكم راح تساعدوني
انا طابة تاهيلي وعندي برنامج بالجافا وجاني
مرض بيديني من كثر ما احاول احله
استاذتنا الله يستر بس عليها والدكتور كمان ما عنده سالفه استغفر الله بس
فحبيت الي حله والا الي يعرف الحل يقلي قبل يوم الاحد
والله بكيت منو ما عرفت اسوي فيه شي
والي هو هاذا البرنامج
Write a methods
Method name: countOccurrenceOfCharacter
Parameters: String word1, char d
Return: int
Logic: Method should search word1 for the letter in d, and returns how many time it located that letter
in the string.
Method name: getPartialCapitalString
Parameters: int pos1, int pos2, String S
Return: String
Logic: Method should extract part of s from pos1 to pos2,included, capitalize it, and then return it.
If pos1 or pos2 are bigger than the string size or less than zero, returns “There is an error, please
adjust positions”.
Method name:
countOccurrenceOfMultiplesOf5
Parameters: int num1, int num2
Return: int
Logic: Method should count how many number between num1 and num2, included, are multiples of 5.
Method Name: filter
Parameters:int num
Return:String
Logic: Using Switch statement,if num is 1, 2, 3 returns “school day”, if 4, or 7
returns “Off Day”. Otherwise, returns “Nightmare”
بس مو كلها نحلها نختار اثنين او ثلاثه ونحلها
بليييييييييييز تكفووون بكل اللغات اقولها انكم تساعدوني قبل يوم الاحد
يااارب احد يساعدني ويوم القيامه ربي يفرج عليه ان شالله