Quantcast

A community for students.

Here's the question you clicked on:

55 members online
  • 0 replying
  • 0 viewing

Christos

  • 2 years ago

C++, Help needed! Say I have this line here: m = 10 * m + digit; Which operation goes first? Multiplication or addition?

  • This Question is Closed
  1. jeppe789
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    I think it's the chronological order unless you've made some kind of priorities in your other code.

  2. Christos
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    what is the chronological order?

  3. Christos
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    I havent made any priorities

  4. jeppe789
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    The order it is written in, if you write * first, that operation goes first. If you write + first, that operation goes first.

  5. hba
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 1

    Well its gonna * first.

  6. hba
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 1

    Search on google:HIPO i hope that will help :)

  7. Christos
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    thank you

  8. hba
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 1

    welcome :)

  9. Not the answer you are looking for?
    Search for more explanations.

    • Attachments:

Ask your own question

Sign Up
Find more explanations on OpenStudy
Privacy Policy

Your question is ready. Sign up for free to start getting answers.

spraguer (Moderator)
5 → View Detailed Profile

is replying to Can someone tell me what button the professor is hitting...

23

  • Teamwork 19 Teammate
  • Problem Solving 19 Hero
  • You have blocked this person.
  • ✔ You're a fan Checking fan status...

Thanks for being so helpful in mathematics. If you are getting quality help, make sure you spread the word about OpenStudy.

This is the testimonial you wrote.
You haven't written a testimonial for Owlfred.