Thread: C programming Help

  1. #1
    Registered User
    Join Date
    May 2016
    Posts
    2

    C programming Help


    Hi Guys,I need your help once I'm not such a task on.Example run session :> Enter expression : ((5 + 4) -2) - ( 3-4 )> 8how can I if I want to write a program c declare the brackets in a String ?mfggökhan kayaHi Guys,I need your help once I'm not such a task on.Example run session :> Enter expression : ((5 + 4) -2) - ( 3-4 )> 8how can I if I want to write a program c declare the brackets in a Zerichenkette ?mfggökhan kaya

  2. #2
    Registered User
    Join Date
    Oct 2006
    Posts
    3,445
    If you only have to do addition and subtraction, then you can just remove all the parentheses and evaluate left to right.
    What can this strange device be?
    When I touch it, it gives forth a sound
    It's got wires that vibrate and give music
    What can this thing be that I found?

  3. #3
    Registered User
    Join Date
    May 2016
    Posts
    2
    yes but I only intended as a computational task enter and leave then calculate it
    yes but I only intended as a computational task enter and leave then calculate it

  4. #4
    Registered User ssharish2005's Avatar
    Join Date
    Sep 2005
    Location
    Cambridge, UK
    Posts
    1,732
    I dont understand what your asking.

    Are you trying to convert this expression
    ((5 + 4) -2) - ( 3-4 )> 8

    into a C program? If so are those operand a constants or an variable?
    Life is like riding a bicycle. To keep your balance you must keep moving - Einstein

  5. #5
    Registered User
    Join Date
    Jun 2015
    Posts
    1,643
    Quote Originally Posted by gkaya24 View Post
    yes but I only intended as a computational task enter and leave then calculate it
    yes but I only intended as a computational task enter and leave then calculate it
    you're not making any sense
    you're not making any sense

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 2
    Last Post: 09-11-2012, 01:03 AM
  2. Replies: 4
    Last Post: 12-11-2011, 04:25 PM
  3. small programming job VCPP / Object Oriented Programming
    By calgonite in forum Projects and Job Recruitment
    Replies: 10
    Last Post: 01-04-2006, 11:48 PM
  4. Total newb to programming here... Question about the many programming languages. Ty!
    By tsubotakid1 in forum A Brief History of Cprogramming.com
    Replies: 11
    Last Post: 10-05-2003, 10:32 AM

Tags for this Thread