Thread: Simple Translation Question/s

  1. #1
    Registered User
    Join Date
    May 2012
    Posts
    11

    Simple Translation Question/s

    I was wondering if "Less than or equal to" is symbolized as <= or <== in code and how this statement could be translated into code:

    If A is less than or equal to B and A is equal to G, then print "I'm confused"

    Can anyone help me with this?

  2. #2
    [](){}(); manasij7479's Avatar
    Join Date
    Feb 2011
    Location
    *nullptr
    Posts
    2,657
    Literally that:
    Code:
    if ( A <= B && A == G)
        ......

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. translation api
    By herWter in forum C Programming
    Replies: 4
    Last Post: 12-11-2008, 02:29 PM
  2. translation!!
    By impossible in forum C++ Programming
    Replies: 14
    Last Post: 05-31-2008, 05:17 PM
  3. C to C++ translation help?
    By bill.thompson65 in forum C++ Programming
    Replies: 5
    Last Post: 10-21-2007, 12:56 PM
  4. translation
    By VOX in forum A Brief History of Cprogramming.com
    Replies: 4
    Last Post: 07-05-2005, 06:21 PM
  5. Translation
    By GaPe in forum C Programming
    Replies: 10
    Last Post: 04-04-2002, 09:45 AM

Tags for this Thread