Discussion topic: Contributed Answer/Explanation to Q. 13
Viewing messages
To go to the homepage of this topic, click here.
<< < Page 5 of 5 | From: jam31 | Reply 81 of 86 | Reply | | Subject: Contributed Answer/Explanation to Q. 9 | impure function changes the arguements that r sent to it
Posted at: Tue Dec 21 12:45:29 2010 (GMT)
|
From: hayabusa | Reply 82 of 86 | Reply | | Subject: Contributed Answer/Explanation to Q. 5 | new operator is a keyword used to create an object.
Posted at: Mon Jan 31 11:10:59 2011 (GMT)
|
From: hayabusa | Reply 83 of 86 | Reply | View replies (1)
| Subject: Contributed Answer/Explanation to Q. 22 | class sum
Posted at: Mon Jan 31 12:00:26 2011 (GMT)
|
From: hayabusa | Reply 84 of 86 | Reply | | Subject: Contributed Answer/Explanation to Q. 22 | class sum
Posted at: Mon Jan 31 12:00:28 2011 (GMT)
|
From: hayabusa | Reply 85 of 86 | Reply | | Subject: Contributed Answer/Explanation to Q. 22 | program
class sum{public static void main(int n){even=0,odd=0;for(int
i=1;i<=n;i++){if(i%2==0)even=even+i;elseodd=odd+i; } System.out.println
("sum of even="+even) ;System.out.println("sum of
odd="+odd); } } Posted at: Mon Jan 31 12:10:36 2011 (GMT)
|
From: anjani27 | Reply 86 of 86 | Reply | | Subject: Contributed Answer/Explanation to Q. 13 | a
s
Posted at: Sat Feb 19 10:09:05 2011 (GMT)
|
<< < Page 5 of 5 |
|
To post to this forum, you must be signed in as a Syvum member.
Please sign in / register as a member.