Quantcast

Got Homework?

Connect with other students for help. It's a free community.

  • across
    MIT Grad Student
    Online now
  • laura*
    Helped 1,000 students
    Online now
  • Hero
    College Math Guru
    Online now

Here's the question you clicked on:

55 members online
  • 0 replying
  • 0 viewing

ajprincess Group Title

Plzz help. How to write a c++ program to find the maximum number from the given two numbers using swap function?

  • 2 years ago
  • 2 years ago

  • This Question is Closed
  1. ajprincess Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

    @eSpeX,@annas

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

    @experimentX

    • 2 years ago
  3. experimentX Group Title
    Best Response
    You've already chosen the best response.
    Medals 1

    lol ... i don't know the c++ code why don't you use if else ..

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

    bt the questions asks to use swap function only.

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

    http://www.cplusplus.com/reference/algorithm/swap/ it just a simple function that swaps content ... if a>b swap(a, b) end if echo "greatest is " b " smallest is "a

    • 2 years ago
  6. ajprincess Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

    oops nt getting it right. :(

    • 2 years ago
  7. experimentX Group Title
    Best Response
    You've already chosen the best response.
    Medals 1

    Ahh i wish i knew cpp code ... i haven't done programming for more than a year ..

    • 2 years ago
  8. ajprincess Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

    it's k. Thanxxxx a lot for trying to help me.

    • 2 years ago
  9. experimentX Group Title
    Best Response
    You've already chosen the best response.
    Medals 1

    lol does this help you http://codepad.org/9jl9b5ks

    • 2 years ago
  10. ajprincess Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

    jst a moment checkng.

    • 2 years ago
  11. experimentX Group Title
    Best Response
    You've already chosen the best response.
    Medals 1

    try changing the values of x and y ... though i'm not sure what's the purpose of this ... finding bigger number is basic algorithm that you do with "Hello world" still try asking others ... and also google .. i don't think it's here ... http://www.mybestnotes.co.in/source-code/

    • 2 years ago
  12. experimentX Group Title
    Best Response
    You've already chosen the best response.
    Medals 1

    gotta sleep 2.45 am good night!!

    • 2 years ago
  13. ajprincess Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

    gud night.biggg thannnnxxxxx. it works nw.

    • 2 years ago
  14. experimentX Group Title
    Best Response
    You've already chosen the best response.
    Medals 1

    yw

    • 2 years ago
    • Attachments:

See more questions >>>

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.