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. General Programming
  3. Managed C++/CLI
  4. reply urgently

reply urgently

Scheduled Pinned Locked Moved Managed C++/CLI
8 Posts 5 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

    G T 2 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

      G Offline
      G Offline
      George L Jackson
      wrote on last edited by
      #2

      You probably won't get any help with your programming assignment because we only answer specific questions. If you show us where you are having a problem, we will be glad to help.

      A 1 Reply Last reply
      0
      • G George L Jackson

        You probably won't get any help with your programming assignment because we only answer specific questions. If you show us where you are having a problem, we will be glad to help.

        A Offline
        A Offline
        Ashishhcst2001
        wrote on last edited by
        #3

        i HAVE PASTED THE QUESTION,ITS SPECIFIC AND SHORT TOO SO U ALL CAN REPLY. Lov u all

        A G T 3 Replies Last reply
        0
        • A Ashishhcst2001

          i HAVE PASTED THE QUESTION,ITS SPECIFIC AND SHORT TOO SO U ALL CAN REPLY. Lov u all

          A Offline
          A Offline
          Allah On Acid
          wrote on last edited by
          #4

          You would probably be more likely to get help if you would stop being such a prick.

          1 Reply Last reply
          0
          • A Ashishhcst2001

            i HAVE PASTED THE QUESTION,ITS SPECIFIC AND SHORT TOO SO U ALL CAN REPLY. Lov u all

            G Offline
            G Offline
            George L Jackson
            wrote on last edited by
            #5

            Ashishhcst2001 wrote:

            i HAVE PASTED THE QUESTION,ITS SPECIFIC AND SHORT TOO SO U ALL CAN REPLY.

            Yes, it is specifically a programming exercise question. I am not doing your homework for you. Love you too! :rose:

            P 1 Reply Last reply
            0
            • G George L Jackson

              Ashishhcst2001 wrote:

              i HAVE PASTED THE QUESTION,ITS SPECIFIC AND SHORT TOO SO U ALL CAN REPLY.

              Yes, it is specifically a programming exercise question. I am not doing your homework for you. Love you too! :rose:

              P Offline
              P Offline
              prrusa
              wrote on last edited by
              #6

              Cheating is creepy enough, but to be so damn lazy to not evey reformat the Professors question before posting takes the cake.. Good luck with your career at McDonalds.. You should start rehersing now.. "Do you want frys with that dude?"

              1 Reply Last reply
              0
              • A Ashishhcst2001

                i HAVE PASTED THE QUESTION,ITS SPECIFIC AND SHORT TOO SO U ALL CAN REPLY. Lov u all

                T Offline
                T Offline
                toxcct
                wrote on last edited by
                #7

                Ashishhcst2001 wrote:

                SO U ALL CAN REPLY.

                and why can't you do it yourself ?? as it is an homework, you're supposed to be able to solve it yourself, as you teacher intended...:suss:


                TOXCCT >>> GEII power
                [toxcct][VisualCalc 2.24][3.0 soon...]

                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

                  T Offline
                  T Offline
                  toxcct
                  wrote on last edited by
                  #8

                  good average[^] :cool:


                  TOXCCT >>> GEII power
                  [toxcct][VisualCalc 2.24][3.0 soon...]

                  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