computer programming

posted by .

to what number should be expression (((15/5)*2)*4-2+6) evulate
a)48
b)28
c)4
d)1
I think the answer is( b)

  • computer programming -

    Just work your way from inside out:

    (((15/5)*2)*4-2+6)
    ((3*2)*4-2+6)
    (6*4-2+6)
    24-2+6
    22+6
    28

    We have a winner!

  • computer programming -

    thank you :))))

Respond to this Question

First Name
School Subject
Your Answer

Similar Questions

  1. Computer programming

    Submit pseudocode for the following programming exercise: Fat Gram Calculator Design a program that asks for the number of fat grams and calories in a food item. Validate the input as follows: - Make sure the number of fat grams and …
  2. English

    What do you think he is doing? 1. I think he is playing computer games on the computer. 2. I think he is playing a computer game on the computer. (Which answer is right?
  3. Computer Programming using python

    Assume s is a string of lower case characters. Write a program that counts up the number of vowels contained in the string s. Valid vowels are: 'a', 'e', 'i', 'o', and 'u'. For example, if s = 'azcbobobegghakl', your program should …
  4. Computer programming?

    What is jsp structures regrading to computer programming?
  5. Computer programming

    How to build a simple game in java that will allow a player to attempt to guess a randomly generated number between 0 and 10. The player can continue guessing the number until they get it right. The game should be able to do these …
  6. computer science programming

    Elements – sequence-series outputting Write a program that prints the following elements: 1, 3, 5, 7, 9, 11, 13, 15, 17, 19, (hereto referred to as elements) etc., up till a user-entered value. The program should not print more than …
  7. Computer Literary

    Which of the following is Not an example of debugging A)Looking for errors in programming code B)Fixing misspelled commands in programming code C)Solving faulty logic in programming code D)Upgrading to improve the programming code
  8. intro to computer programming

    Write a program that asks the user to enter the number of packages purchased. The program should then display the amount of the discount (if any) and the total amount of the purchase after the discount. Your program should use a loop …
  9. computer programming

    make a program that will input 6 numbers abd output the highest number and lowest number
  10. computer programming

    make a program that will input 6 numbers abd output the highest number and lowest number

More Similar Questions