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

Thread: if statement

  1. #1
    Join Date
    Oct 2011
    Posts
    4

    if statement

    I need to create and if statement for a code dealing with golf, using the variable highestHoleScore. It has to keep track of the highest SUM of two scores out of the 9 possible SUMS?

  2. #2
    Join Date
    Jun 1999
    Location
    Eastern Florida
    Posts
    3,877

    Re: if statement

    An if statement can test the current values of variables. Keeping track of values would require an assignment statement.
    Norm

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