Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. reply urgently

reply urgently

Scheduled Pinned Locked Moved The Lounge
30 Posts 23 Posters 1 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Ashishhcst2001
    wrote on last edited by
    #1

    One of the proofs of modern mathematics is George Cantors demonstration that the set of rational numbers is enumerable.This proof works by using an explicit enumeration of rational numbers as shown below 1/1 1/2 1/3 1/4 1/5 .... 2/1 2/2 2/3 2/4 3/1 3/2 3/3 4/1 4/2 5/1 In the time above the first term is 1/1 second is 1/2 ,the third is 2/2,the fourth term is 3/1,the fifth is 2/2 and so on. INPUT AND OUTPUT You are to write a program that will read a list of numbers in the range from 1 to 10 raised to the power 7 and will print for each number the corresponding cantor's enumeration as given below.No blank line should appear after the last number. Th einput list contains a single number per line and will be terminated by the end of -file. SAMPLE INPUT 3 14 7 SAMPLE OUTPUT TERM 3 is 2/1 TERM 14 is 2/4 Term 7 is 1/4 Lov u all

    D A C J B 11 Replies Last reply
    0
    • A Ashishhcst2001

      One of the proofs of modern mathematics is George Cantors demonstration that the set of rational numbers is enumerable.This proof works by using an explicit enumeration of rational numbers as shown below 1/1 1/2 1/3 1/4 1/5 .... 2/1 2/2 2/3 2/4 3/1 3/2 3/3 4/1 4/2 5/1 In the time above the first term is 1/1 second is 1/2 ,the third is 2/2,the fourth term is 3/1,the fifth is 2/2 and so on. INPUT AND OUTPUT You are to write a program that will read a list of numbers in the range from 1 to 10 raised to the power 7 and will print for each number the corresponding cantor's enumeration as given below.No blank line should appear after the last number. Th einput list contains a single number per line and will be terminated by the end of -file. SAMPLE INPUT 3 14 7 SAMPLE OUTPUT TERM 3 is 2/1 TERM 14 is 2/4 Term 7 is 1/4 Lov u all

      D Offline
      D Offline
      David Stone
      wrote on last edited by
      #2

      Are you kidding? Nobody here is going to do your homework for you.

      If dreams are like movies Then memories are films about ghosts You can never escape You can only move south down the coast

      Hey Mrs. Potter, don't cry...

      P L RaviBeeR S 4 Replies Last reply
      0
      • D David Stone

        Are you kidding? Nobody here is going to do your homework for you.

        If dreams are like movies Then memories are films about ghosts You can never escape You can only move south down the coast

        Hey Mrs. Potter, don't cry...

        P Offline
        P Offline
        Paul Conrad
        wrote on last edited by
        #3

        David Stone wrote:

        Are you kidding? Nobody here is going to do your homework for you.

        David is right, this is not a homework help site. The problem is easy, do it yourself!

        1 Reply Last reply
        0
        • D David Stone

          Are you kidding? Nobody here is going to do your homework for you.

          If dreams are like movies Then memories are films about ghosts You can never escape You can only move south down the coast

          Hey Mrs. Potter, don't cry...

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #4

          David Stone wrote:

          Nobody here is going to do your homework for you.

          Speak for yourself David. I'll do it... ...if the price is right!!! ;P ;P ;P ;P Better to live one day as a lion than a hundred years as a sheep.

          1 Reply Last reply
          0
          • A Ashishhcst2001

            One of the proofs of modern mathematics is George Cantors demonstration that the set of rational numbers is enumerable.This proof works by using an explicit enumeration of rational numbers as shown below 1/1 1/2 1/3 1/4 1/5 .... 2/1 2/2 2/3 2/4 3/1 3/2 3/3 4/1 4/2 5/1 In the time above the first term is 1/1 second is 1/2 ,the third is 2/2,the fourth term is 3/1,the fifth is 2/2 and so on. INPUT AND OUTPUT You are to write a program that will read a list of numbers in the range from 1 to 10 raised to the power 7 and will print for each number the corresponding cantor's enumeration as given below.No blank line should appear after the last number. Th einput list contains a single number per line and will be terminated by the end of -file. SAMPLE INPUT 3 14 7 SAMPLE OUTPUT TERM 3 is 2/1 TERM 14 is 2/4 Term 7 is 1/4 Lov u all

            A Offline
            A Offline
            Al Ortega
            wrote on last edited by
            #5

            www.rentacoder.com

            1 Reply Last reply
            0
            • A Ashishhcst2001

              One of the proofs of modern mathematics is George Cantors demonstration that the set of rational numbers is enumerable.This proof works by using an explicit enumeration of rational numbers as shown below 1/1 1/2 1/3 1/4 1/5 .... 2/1 2/2 2/3 2/4 3/1 3/2 3/3 4/1 4/2 5/1 In the time above the first term is 1/1 second is 1/2 ,the third is 2/2,the fourth term is 3/1,the fifth is 2/2 and so on. INPUT AND OUTPUT You are to write a program that will read a list of numbers in the range from 1 to 10 raised to the power 7 and will print for each number the corresponding cantor's enumeration as given below.No blank line should appear after the last number. Th einput list contains a single number per line and will be terminated by the end of -file. SAMPLE INPUT 3 14 7 SAMPLE OUTPUT TERM 3 is 2/1 TERM 14 is 2/4 Term 7 is 1/4 Lov u all

              C Offline
              C Offline
              code frog 0
              wrote on last edited by
              #6

              Okay it's finished. It can be done at least. Now it's your turn. You give it a try. Post your completed effort in the forum of whatever language you have to do it in (You kind of left that out.) and we'll grade it for you. We grade on the following:

              • Is it your code and actually written by you? In most cases the professor can tell and so can we.
              • Was your solution posted in the right forum? The professor will be looking don't make it to hard on him so put it in the right place.
              • Were you able to solve the problem with your submitted code? We'll know that for sure.

              Bonus Trivia: Did you know that my professor checked out Code Project, Code Guru and Rent A Coder to see if his assignment had been posted there? Then it was easy to spot the fake when turned it. It looked just like the answer that was posted. Maybe yours does to, you might want to consider that. Well, best of luck to you. I'll compare my answers with yours as soon as I see yours. - Rex

              I only read CP for the articles. Code-frog System Architects, Inc.

              M 1 Reply Last reply
              0
              • A Ashishhcst2001

                One of the proofs of modern mathematics is George Cantors demonstration that the set of rational numbers is enumerable.This proof works by using an explicit enumeration of rational numbers as shown below 1/1 1/2 1/3 1/4 1/5 .... 2/1 2/2 2/3 2/4 3/1 3/2 3/3 4/1 4/2 5/1 In the time above the first term is 1/1 second is 1/2 ,the third is 2/2,the fourth term is 3/1,the fifth is 2/2 and so on. INPUT AND OUTPUT You are to write a program that will read a list of numbers in the range from 1 to 10 raised to the power 7 and will print for each number the corresponding cantor's enumeration as given below.No blank line should appear after the last number. Th einput list contains a single number per line and will be terminated by the end of -file. SAMPLE INPUT 3 14 7 SAMPLE OUTPUT TERM 3 is 2/1 TERM 14 is 2/4 Term 7 is 1/4 Lov u all

                J Offline
                J Offline
                Jerry Hammond
                wrote on last edited by
                #7

                Try This[^] My Programming Library C#, C# Run

                1 Reply Last reply
                0
                • A Ashishhcst2001

                  One of the proofs of modern mathematics is George Cantors demonstration that the set of rational numbers is enumerable.This proof works by using an explicit enumeration of rational numbers as shown below 1/1 1/2 1/3 1/4 1/5 .... 2/1 2/2 2/3 2/4 3/1 3/2 3/3 4/1 4/2 5/1 In the time above the first term is 1/1 second is 1/2 ,the third is 2/2,the fourth term is 3/1,the fifth is 2/2 and so on. INPUT AND OUTPUT You are to write a program that will read a list of numbers in the range from 1 to 10 raised to the power 7 and will print for each number the corresponding cantor's enumeration as given below.No blank line should appear after the last number. Th einput list contains a single number per line and will be terminated by the end of -file. SAMPLE INPUT 3 14 7 SAMPLE OUTPUT TERM 3 is 2/1 TERM 14 is 2/4 Term 7 is 1/4 Lov u all

                  B Offline
                  B Offline
                  Brian Van Beek
                  wrote on last edited by
                  #8

                  check out the posts this person has been posting... link[^] can we ban them...please.... Brian Van Beek Inside this room, all of my dreams become realities, and some of my realities become dreams. -Willy Wonka Read my Blog, I know you want to... [^]

                  1 Reply Last reply
                  0
                  • A Ashishhcst2001

                    One of the proofs of modern mathematics is George Cantors demonstration that the set of rational numbers is enumerable.This proof works by using an explicit enumeration of rational numbers as shown below 1/1 1/2 1/3 1/4 1/5 .... 2/1 2/2 2/3 2/4 3/1 3/2 3/3 4/1 4/2 5/1 In the time above the first term is 1/1 second is 1/2 ,the third is 2/2,the fourth term is 3/1,the fifth is 2/2 and so on. INPUT AND OUTPUT You are to write a program that will read a list of numbers in the range from 1 to 10 raised to the power 7 and will print for each number the corresponding cantor's enumeration as given below.No blank line should appear after the last number. Th einput list contains a single number per line and will be terminated by the end of -file. SAMPLE INPUT 3 14 7 SAMPLE OUTPUT TERM 3 is 2/1 TERM 14 is 2/4 Term 7 is 1/4 Lov u all

                    S Offline
                    S Offline
                    Steve Mayfield
                    wrote on last edited by
                    #9

                    #include void main() { printf("I posted a message on CodeProject.com\n"); printf("asking someone else to do my homework\n"); printf("for me. No one would.\n"); printf("New excuse: My dog ate my homework"\n); } Steve

                    1 Reply Last reply
                    0
                    • A Ashishhcst2001

                      One of the proofs of modern mathematics is George Cantors demonstration that the set of rational numbers is enumerable.This proof works by using an explicit enumeration of rational numbers as shown below 1/1 1/2 1/3 1/4 1/5 .... 2/1 2/2 2/3 2/4 3/1 3/2 3/3 4/1 4/2 5/1 In the time above the first term is 1/1 second is 1/2 ,the third is 2/2,the fourth term is 3/1,the fifth is 2/2 and so on. INPUT AND OUTPUT You are to write a program that will read a list of numbers in the range from 1 to 10 raised to the power 7 and will print for each number the corresponding cantor's enumeration as given below.No blank line should appear after the last number. Th einput list contains a single number per line and will be terminated by the end of -file. SAMPLE INPUT 3 14 7 SAMPLE OUTPUT TERM 3 is 2/1 TERM 14 is 2/4 Term 7 is 1/4 Lov u all

                      S Offline
                      S Offline
                      Super Lloyd
                      wrote on last edited by
                      #10

                      Did code-frog mention you'll have 100 BONUS POINTS if you post the right answer in C#? ;P

                      S 1 Reply Last reply
                      0
                      • S Super Lloyd

                        Did code-frog mention you'll have 100 BONUS POINTS if you post the right answer in C#? ;P

                        S Offline
                        S Offline
                        Steve Mayfield
                        wrote on last edited by
                        #11

                        200 bonus points if the answer is done in Algol, Snobol or Mumps, 300 bonus points if the answer is done in Ancient Greek and 500 bonus points if it is done in hieroglyphics. Steve

                        S L L G 4 Replies Last reply
                        0
                        • S Steve Mayfield

                          200 bonus points if the answer is done in Algol, Snobol or Mumps, 300 bonus points if the answer is done in Ancient Greek and 500 bonus points if it is done in hieroglyphics. Steve

                          S Offline
                          S Offline
                          Super Lloyd
                          wrote on last edited by
                          #12

                          Woa... I might try to formulate the answer myself in hieroglyphs... :laugh:

                          1 Reply Last reply
                          0
                          • S Steve Mayfield

                            200 bonus points if the answer is done in Algol, Snobol or Mumps, 300 bonus points if the answer is done in Ancient Greek and 500 bonus points if it is done in hieroglyphics. Steve

                            L Offline
                            L Offline
                            leppie
                            wrote on last edited by
                            #13

                            Steve Mayfield wrote:

                            500 bonus points if it is done in hieroglyphics.

                            10000 points if done on an abacus :)

                            xacc.ide-0.1.2.15
                            Now with a grid!

                            V 1 Reply Last reply
                            0
                            • L leppie

                              Steve Mayfield wrote:

                              500 bonus points if it is done in hieroglyphics.

                              10000 points if done on an abacus :)

                              xacc.ide-0.1.2.15
                              Now with a grid!

                              V Offline
                              V Offline
                              Vikram A Punathambekar
                              wrote on last edited by
                              #14

                              A bajillion points if done in the mind. Oh wait, that can be exploited like this[^]. :doh: Cheers, Vikram.


                              "When I read in books about a "base class", I figured this was the class that was at the bottom of the inheritence tree. It's the "base", right? Like the base of a pyramid." - Marc Clifton.

                              1 Reply Last reply
                              0
                              • A Ashishhcst2001

                                One of the proofs of modern mathematics is George Cantors demonstration that the set of rational numbers is enumerable.This proof works by using an explicit enumeration of rational numbers as shown below 1/1 1/2 1/3 1/4 1/5 .... 2/1 2/2 2/3 2/4 3/1 3/2 3/3 4/1 4/2 5/1 In the time above the first term is 1/1 second is 1/2 ,the third is 2/2,the fourth term is 3/1,the fifth is 2/2 and so on. INPUT AND OUTPUT You are to write a program that will read a list of numbers in the range from 1 to 10 raised to the power 7 and will print for each number the corresponding cantor's enumeration as given below.No blank line should appear after the last number. Th einput list contains a single number per line and will be terminated by the end of -file. SAMPLE INPUT 3 14 7 SAMPLE OUTPUT TERM 3 is 2/1 TERM 14 is 2/4 Term 7 is 1/4 Lov u all

                                A Offline
                                A Offline
                                Alvaro Mendez
                                wrote on last edited by
                                #15

                                urgently. :rolleyes: Lov u 2.


                                ... now you see that Evil will always triumph, because Good is dumb. - Dark Helmet

                                1 Reply Last reply
                                0
                                • S Steve Mayfield

                                  200 bonus points if the answer is done in Algol, Snobol or Mumps, 300 bonus points if the answer is done in Ancient Greek and 500 bonus points if it is done in hieroglyphics. Steve

                                  L Offline
                                  L Offline
                                  Lost User
                                  wrote on last edited by
                                  #16

                                  Good weather for this turning into a Snobol fight :rolleyes: The tigress is here :-D

                                  1 Reply Last reply
                                  0
                                  • A Ashishhcst2001

                                    One of the proofs of modern mathematics is George Cantors demonstration that the set of rational numbers is enumerable.This proof works by using an explicit enumeration of rational numbers as shown below 1/1 1/2 1/3 1/4 1/5 .... 2/1 2/2 2/3 2/4 3/1 3/2 3/3 4/1 4/2 5/1 In the time above the first term is 1/1 second is 1/2 ,the third is 2/2,the fourth term is 3/1,the fifth is 2/2 and so on. INPUT AND OUTPUT You are to write a program that will read a list of numbers in the range from 1 to 10 raised to the power 7 and will print for each number the corresponding cantor's enumeration as given below.No blank line should appear after the last number. Th einput list contains a single number per line and will be terminated by the end of -file. SAMPLE INPUT 3 14 7 SAMPLE OUTPUT TERM 3 is 2/1 TERM 14 is 2/4 Term 7 is 1/4 Lov u all

                                    P Offline
                                    P Offline
                                    peterchen
                                    wrote on last edited by
                                    #17

                                    Ashishhcst2001 wrote:

                                    reply urgently

                                    *huf* *huff* Reply! Did I make it?


                                    Some of us walk the memory lane, others plummet into a rabbit hole
                                    Tree in C# || Fold With Us! || sighist

                                    1 Reply Last reply
                                    0
                                    • A Ashishhcst2001

                                      One of the proofs of modern mathematics is George Cantors demonstration that the set of rational numbers is enumerable.This proof works by using an explicit enumeration of rational numbers as shown below 1/1 1/2 1/3 1/4 1/5 .... 2/1 2/2 2/3 2/4 3/1 3/2 3/3 4/1 4/2 5/1 In the time above the first term is 1/1 second is 1/2 ,the third is 2/2,the fourth term is 3/1,the fifth is 2/2 and so on. INPUT AND OUTPUT You are to write a program that will read a list of numbers in the range from 1 to 10 raised to the power 7 and will print for each number the corresponding cantor's enumeration as given below.No blank line should appear after the last number. Th einput list contains a single number per line and will be terminated by the end of -file. SAMPLE INPUT 3 14 7 SAMPLE OUTPUT TERM 3 is 2/1 TERM 14 is 2/4 Term 7 is 1/4 Lov u all

                                      N Offline
                                      N Offline
                                      NormDroid
                                      wrote on last edited by
                                      #18

                                      <Broken English> I know answer, but not tell you, becoz that be cheating. </Broken English> Blogless

                                      1 Reply Last reply
                                      0
                                      • S Steve Mayfield

                                        200 bonus points if the answer is done in Algol, Snobol or Mumps, 300 bonus points if the answer is done in Ancient Greek and 500 bonus points if it is done in hieroglyphics. Steve

                                        G Offline
                                        G Offline
                                        Gary R Wheeler
                                        wrote on last edited by
                                        #19

                                        Steve Mayfield wrote:

                                        hieroglyphics

                                        Also known as APL.


                                        Software Zen: delete this;

                                        Fold With Us![^]

                                        1 Reply Last reply
                                        0
                                        • D David Stone

                                          Are you kidding? Nobody here is going to do your homework for you.

                                          If dreams are like movies Then memories are films about ghosts You can never escape You can only move south down the coast

                                          Hey Mrs. Potter, don't cry...

                                          RaviBeeR Offline
                                          RaviBeeR Offline
                                          RaviBee
                                          wrote on last edited by
                                          #20

                                          Aw come on... he even said "Lov u all". :) /ravi My new year's resolution: 2048 x 1536 Home | Music | Articles | Freeware | Trips ravib(at)ravib(dot)com

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups