بوابة الثانوية العامة المصرية

بوابة الثانوية العامة المصرية (https://www.thanwya.com/vb/index.php)
-   computer (https://www.thanwya.com/vb/forumdisplay.php?f=1131)
-   -   سؤال الى مدرسى الكمبيوتر المميزين (https://www.thanwya.com/vb/showthread.php?t=686800)

hassantawfic 06-05-2016 11:58 PM

سؤال الى مدرسى الكمبيوتر المميزين
 
?what will be the value of the variables (M) (N) after the execution of the following code
Dim M , N as decimal
M= 20
N=6
for N=6 TO 20 step 2
M=M+2
NEXT

Ahmed Ezzat Cambridge 07-05-2016 09:51 AM

m,n=22 after excution

venna 07-05-2016 10:16 PM

n= 6-8-10-12-14-16-18-20-and final 22 m=22-24-26-28-30-32-34-36 final 36

hassantawfic 08-05-2016 02:11 AM

[color="blue"][
size="6"]
اقتباس:

المشاركة الأصلية كتبت بواسطة hassantawfic (المشاركة 6426029)
?what will be the value of the variables (m) (n) after the execution of the following code

اقتباس:

المشاركة الأصلية كتبت بواسطة hassantawfic (المشاركة 6426029)
dim m , n as decimal
m= 20
n=6
for n=6 to 20 step 2
m=m+2
next


[/size][/colo
r]

مدحت انور 08-05-2016 12:45 PM

m=36
n=22

ropey_lover 10-05-2016 09:12 AM

n = 20
m = 36

orgalx 14-05-2016 09:14 PM

m=22
n=6
there is one loop will be executed

اسلام معروف 21-02-2017 06:05 PM

n=22
m=36

neno2010 22-02-2017 10:54 PM

n= 6-8-10-12-14-16-18-20 = 22
m=22-24-26-28-30-32-34 = 36


جميع الأوقات بتوقيت GMT +2. الساعة الآن 08:56 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.