You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
ﺔﯿﺟﻮﻟﻮﻨﻜﺘﻟا ﺔﯾﺪﻠﺒﻟا ﺔﯾﻮﻧﺎﺜﻟا ﺔﺳرﺪﻤﻟا<br />
יגולונכט ינוריע ןוכית ס"<br />
יב<br />
" فاﺰﯿﺷ "<br />
" ףזיש "<br />
ﺎﻔﯿﺣ -1-رﺎﺠﺣ<br />
ناﺮﻄﻤﻟا عرﺎﺷ<br />
הפיח -1–<br />
רא'גח<br />
ףושיבה 'חר<br />
04:8554226<br />
: סקפ<br />
ךוניחל ףגא - הפיח תייריע<br />
Email : shizaf1@gmail.<br />
com<br />
04:8507554 : ןופלט<br />
=============================================================<br />
14.11.2010<br />
_______ : ﺔﻣﻼﻌﻟﺍ<br />
Static int ex1 (int num)<br />
{<br />
Int max=0;<br />
While (num!=0)<br />
{<br />
If(num % 10 >max)<br />
Max=num%10;<br />
Num=num/10;<br />
}<br />
Return max;<br />
}<br />
،ﺔﻤﻴﻠﺳ ﻦﻜﺗ ﱂ ﺍﺫﺇ . ﺎﻫﺬﻴﻔﻨﺗ<br />
C# �������<br />
_________________ : ﻢﺳﻻﺍ<br />
: 1<br />
ﻝﺍﺆﺳ<br />
: check ﺔﻟﺍﺪﻟﺍ ﻚﻣﺎﻣﺃ<br />
. check ﺔﻟﺍﺪﻠﻟ ﺀﺎﻋﺪﺘﺳﺍ ﻰﻠﻋ ﻱﻮﺘﲢ ﺞﻣﺍﺮﺑ ﻊﻄﻗ ﺙﻼﺛ ﻚﻣﺎﻣﺃ<br />
ﺪﻌﺑ ﺝﺮﺨﻤﻛ ﺽﺮﻌﻳ ﺍﺫﺎﻣ ﺐﺘﻛﺍ ،ﺔﻤﻴﻠﺳ ﺖﻧﺎﻛ ﺍﺫﺇ ﻊﻄﻘﻟﺍ ﻦﻣ ﺓﺪﺣﺍﻭ ﻞﻛ ﰲ ﺺﺤﻓﺍ<br />
1. x=ex1(2524);<br />
Console.writeline(x);<br />
2. a = 442;<br />
b = 4;<br />
Console.writeline(“the result is={0}”, ex1(b));<br />
3. m = 322;<br />
Console.writeline(check(m) );<br />
Static int found(int a, int b)<br />
: ﱄﺎﺘﻟﺍ<br />
. ﺍﺫﺎﳌ<br />
: 2<br />
ﺡﺮﺷﺍ<br />
ﻝﺍﺆﺳ<br />
ﺔﻟﺍﺪﻟﺍ ﻥﺍﻮﻨﻋ ﻚﻣﺎﻣﺃ<br />
. b ﺓﺪﺣﺍﻭ ﺔﻟﺰـﻨﻣ ﻦﻣ ﹰﺎﻤﻗﺭﻭ ﻪﻟﺯﺎﻨﻣ ﺩﺪﻋ ﻑﻭﺮﻌﻣ ﲑﻏ ﺢﻴﺤﺻ<br />
a ﺍﺩﺪﻋ ﻰﻘﻠﺘﺗ : ﻝﻮﺧﺪﻟﺍ<br />
. a<br />
ﺩﺪﻌﻟﺍ ﰲ b<br />
ﺔﻟﺰـﻨﳌﺍ<br />
ﺭﻮﻬﻇ ﺕﺍﺮﻣ ﺩﺪﻋ ﺪﻴﻌﺗ : ﺝﻭﺮﳋﺍ<br />
.<br />
ﺔﻟﺍﺪﻟﺍ<br />
ﺀﺎﻋﺩﺍ<br />
ﺀﺎﻋﺩﺍ<br />
ﻢﺴﺟ ﻞﻤﻛﺃ