User Profile

Collapse

Profile Sidebar

Collapse
kalyanakumar619
kalyanakumar619
Last Activity: Apr 8 '14, 02:20 PM
Joined: Jan 30 '14
Location: Chennai, Tamilnadu, INdia
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • kalyanakumar619
    replied to Conditional Statement: Nested If
    Code:
    Console.Write("Enter Number: ");
                int n = int.Parse(Console.ReadLine());
                while (n > 0)
                {
                    if ((n % 2) == 0)
                    {
                        Console.WriteLine("\nThe Number is Even\n");
                        Console.WriteLine("Hence the result is :{0}", n + 10);
                    }
                    else
    ...
    See more | Go to post
    Last edited by Rabbit; Jan 30 '14, 04:36 PM. Reason: Please use [CODE] and [/CODE] tags when posting code or formatted data.

    Leave a comment:


  • I want to check multiple condition for xml code using c#

    Hi,

    I am working with XML based codes.
    I was asked to check multiple condition in XML codes.



    Code:
        <Model>
        <Component id="10" name="John" country="UK">
        </Component>
        <Component id="45" name="Peter" country="US">
        </Component>
        <Component id="3"
    ...
    See more | Go to post
    Last edited by Rabbit; Jan 30 '14, 04:26 PM. Reason: Please use [CODE] and [/CODE] tags when posting code or formatted data.
No activity results to display
Show More
Working...