CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4

Thread: help with loops

Threaded View

  1. #2
    Join Date
    Jun 2008
    Posts
    154

    Re: help with loops

    use

    (code) (/code) to post code, replace ( ) with [ ]

    one problem is see

    you need to put this
    Code:
                    if (myInput == "4")
                    {
                        Console.WriteLine("Goodbye");
                        Console.WriteLine("The result is " + result);
                    }
    outside of

    Code:
             while (myInput != "4")
    there is that for starters...
    Last edited by bixel; November 19th, 2010 at 04:10 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured