ruka
- programming
- array
السلام عليكم انا عندي سؤال في المصفوفات لو جاء سؤال وطلب مني اني اسوي هذا المطلوب arrayOfOrg (in x:int): [] Organization returns an array containing all organizations that have a number of employees > x. (hint: create a new array and use the method copyOrg حل …
- Constructors
عذرا على التاخير كان لدي اختبارات في الفتره الماضيه الشهريه :sleep: عملت ميثود ترجع قيم صائب وخاطئ import java.util.*; public class m{ static Scanner console=new Scanner(System.in); public static void main(String[]args){ int num1,num2,num3,num4,num5,num6,num7,…
- Constructors
بالنسبة if in the main وضع الاقواس اتوقع يغني عن وضع else ولا لا
- Constructors
اهلن :wub: تم الحل بس مدري اذا صح ولا غلط بس طلع معي كل شي class Triangle{ private int side1; private int side2; private int side3; double s; double area; public Triangle(int a, int b , int c){ side1=a; side2=b; side3=c; } public boolean isValid(){ if (((side1…
- Constructors
:blush: لم افهم قصدك اخي
- Constructors
السلام عليكم Write a java class named Triangle, as shown in the UML class diagram. The class contains the following: • 3 private attributes named side1, side2 and side3, of type (int) •A constructor that sets the 3 sides of the triangle to given values •A meth…
- برنامج يقرأ البيانات والاسم والسعر للمتجر....
السلام عليكم Write a program for a grocery that reads products data and determine and display the product that has the highest price and the average price. A product has three pieces of data: id name and priceYour program should continue reading new products u…
- حساب عدد الحروف الصغيره...
شكراً لك اخي herch اجابة نموذجيه.. ولجميع من ابدى حلوله استفدت من الطرق المختلفه للحل :wub: مشكلت الكود اللي عملته انه لم يكن قوي.. اذا امكن ان اعرض كود اخر عملته لسؤال مختلف المشكلة اني مااعرفت السؤال ماهو طلبه والكـود اجتهاد مني فهو صحيح لكن يوجد شي ناقص ولم…
- حساب عدد الحروف الصغيره...
المطلوب في السؤال حساب جميع الاحرف في الجمله small litter just
- حساب عدد الحروف الصغيره...
هل هـذا الحل يعتبر صحيح import java.util.*; public class q2{ static Scanner console = new Scanner(System.in); public static void main(String[] args){ int i = 0; int count; char small; String str; System.out.println("Enter a sentence"); str = console.nextLine()…
- حساب عدد الحروف الصغيره...
السؤال هـو . Write a program to read a string and then count the number of small letters ('a'..'z') in that string. كيف احسب جميع الحروف الصغيره الحل اللي تحت لحساب حرفين فقط import java.util.*; public class sheet4_q2{ static Scanner console = new Scanner(Syst…