![]() |
#62 |
مسؤول فريق الإنتاج
![]() رقـم العضويــة: 160701
تاريخ التسجيل: Jul 2012
الجنس:
![]() المشـــاركـات: 13,130
نقـــاط الخبـرة: 3160
|
![]() أكثر مادة مسلية والوحيدة اللي ما أحس فيها بثقل الوقت هي الـ java
![]() وإلحين جالس أشتغل على المشروع الأول وبعده باقي المشروع الثاني--" هذا الأول: ... كود بلغة HTML:
import java.util.*; class Area { double aa(double sq) { return (sq*sq); } double aa(double h, double l) { return (h*l); } double aa(double hh, double ll, double ww) { return (hh*ll*ww); } } class call { public static void main(String[]arg) { Scanner ip = new Scanner (System.in); Area cul = new Area(); System.out.println("Enter The Length To Find The Square Area"); double sq=ip.nextDouble(); System.out.println("Enter Length & Width To Find The Rectangle Area"); double h=ip.nextDouble(); double l=ip.nextDouble(); System.out.println("Enter Length, Width & Depth To Find The Cuboid"); double hh=ip.nextDouble(); double ll=ip.nextDouble(); double ww=ip.nextDouble(); System.out.println("The Area Of Square is = "+cul.aa(sq)); System.out.println("The Area Of Rectangle is = "+cul.aa(h,l)); System.out.println("The Area Of Cubid is = "+cul.aa(hh,ll,ww)); } } |
![]() |
![]() |
![]() |
#63 |
مسؤول فريق الإنتاج
![]() رقـم العضويــة: 160701
تاريخ التسجيل: Jul 2012
الجنس:
![]() المشـــاركـات: 13,130
نقـــاط الخبـرة: 3160
|
![]() خلصت الحمد لله xD
وهذا الثاني: كود بلغة HTML:
import java.util.*;
class GradesStatistics
{
public static void main (String [] arg)
{
int [] n = new int [101];
int nums,grd, max=0,min=n.length;
double aver=0.0,tot=0.0;
Scanner ip = new Scanner (System.in);
System.out.print("Enter The Number Of Students: ");
nums=ip.nextInt();
for (grd=1;grd<=nums;grd++)
{
System.out.print("Enter The Grade For Student "+grd+": ");
n [grd]=ip.nextInt();
tot=tot+n [grd];
}
aver=tot/nums;
System.out.println("The Average is "+aver);
for (int mi=1;mi<=nums;mi++)
{
if (n [mi]<min)
{
min=n [mi];
}
}
System.out.println("The Minimum is "+min);
for (int a=0;a<=nums;a++)
{
if (n [a]>max)
{
max=n[a];
}
}
System.out.println("The Maximum is "+max);
}
}
![]() |
![]() |
![]() |
![]() |
#67 |
مسؤول فريق الإنتاج
![]() رقـم العضويــة: 160701
تاريخ التسجيل: Jul 2012
الجنس:
![]() المشـــاركـات: 13,130
نقـــاط الخبـرة: 3160
|
![]() Avenged Sevenfold - So Far Away
. . Never feared for anything Never shamed but, never free A life to heal the broken heart with all that it could Lived a life so endlessly Saw beyond what others see I tried to heal your broken heart with all that I could Will you stay? Will you stay away forever? . . Plans of what our futures hold Foolish lies of growing old It seems we're so invincible The truth is so cold A final song, a last request A perfect chapter laid to rest Now and then I try to find A place in my mind Where you can stay You can stay away forever . . Deep Lyrics ![]() التعديل الأخير تم بواسطة Firas CycLoNe ; 12-12-2013 الساعة 12:17 AM |
![]() |
![]() |
![]() |
#68 |
مسؤول فريق الإنتاج
![]() رقـم العضويــة: 160701
تاريخ التسجيل: Jul 2012
الجنس:
![]() المشـــاركـات: 13,130
نقـــاط الخبـرة: 3160
|
![]() ![]() . . كُل شيءٍ في بدايته جميل حتى تبدأ بالتعلق به ثمّ يبدأ بالتغيّر والغرور حتى تُصبح تلك الذكرى الجميلة مجرد حمل ثقيل. |
![]() |
![]() |
![]() |
#70 |
مسؤول فريق الإنتاج
![]() رقـم العضويــة: 160701
تاريخ التسجيل: Jul 2012
الجنس:
![]() المشـــاركـات: 13,130
نقـــاط الخبـرة: 3160
|
![]() .
. يمدحونك ويطرونك بالخير واذا فعلت ما لم يعجبهم ولو مرةً واحدة فقط! ينسون كل الخير ويتذكروا تلك السيئة فقط. لذلك، سُحقًا لهم ![]() |
![]() |
![]() |
![]() |
الذين يشاهدون محتوى الموضوع الآن : 1 ( الأعضاء 0 والزوار 1) | |
|
|
![]() |
||||
الموضوع | كاتب الموضوع | المنتدى | مشاركات | آخر مشاركة |
المستَقَبْل || ويبقى تفگيري دائما عنـﮧ | и α z l i | القسم العام | 19 | 05-19-2013 09:53 PM |
تدور الأيــــام ويبقى حلو الكــــلام | نونه المصرية | قسم الأرشيف والمواضيع المحذوفة | 1 | 06-16-2011 05:14 PM |
ويبقى الدمع تذكار الاحبــــــــه ..} | هدىgb | القسم العام | 0 | 08-07-2010 01:06 AM |
[ خبـر ] : [فكرة] مدوّنة لكلّ عضو من اعضاءك | العاشق 2005 | قسم الأرشيف والمواضيع المحذوفة | 0 | 02-13-2009 11:10 AM |
ويبقى الطريق | الشاعر الأليم | قسم الأدب العربي و العالمي | 0 | 10-10-2008 09:15 AM |