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. C#
  4. what the code of this

what the code of this

Scheduled Pinned Locked Moved C#
data-structurestutorial
22 Posts 8 Posters 0 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.
  • N Nabawoka

    An array is defined to be a Jeffian array if it contains at least one prime number and the minimum prime number in the array is equal to the count of all the prime numbers in the array. Recall that a prime number is an integer greater than 1 whose only factors are 1 and itself. For example, the array {3, 6, 7, 10, 5} is a Jeffian array because: 1. it contains at least one prime number 2. its minimum prime number is 3 and that is the count of the number of primes (3, 7, 5) in the array

    modified on Wednesday, January 26, 2011 5:20 PM

    P Offline
    P Offline
    Paladin2000
    wrote on last edited by
    #4

    Sorry. I can't speak for any of the others here, but I personally could not see helping someone cheat their way into better grades, perhaps thus earning a degree (and job) they don't deserve, and can't sustain without relying on others to do their work for them. It may be "tough love", but we're doing you a favor by NOT doing it for you. :(

    N P 2 Replies Last reply
    0
    • N Nabawoka

      An array is defined to be a Jeffian array if it contains at least one prime number and the minimum prime number in the array is equal to the count of all the prime numbers in the array. Recall that a prime number is an integer greater than 1 whose only factors are 1 and itself. For example, the array {3, 6, 7, 10, 5} is a Jeffian array because: 1. it contains at least one prime number 2. its minimum prime number is 3 and that is the count of the number of primes (3, 7, 5) in the array

      modified on Wednesday, January 26, 2011 5:20 PM

      P Offline
      P Offline
      Pete OHanlon
      wrote on last edited by
      #5

      The OP is trying to cheat on an online exam and is wasting time asking here rather than attempting to work it out for himself.

      I'm not a stalker, I just know things. Oh by the way, you're out of milk.

      Forgive your enemies - it messes with their heads

      My blog | My articles | MoXAML PowerToys | Onyx

      1 Reply Last reply
      0
      • P Paladin2000

        Sorry. I can't speak for any of the others here, but I personally could not see helping someone cheat their way into better grades, perhaps thus earning a degree (and job) they don't deserve, and can't sustain without relying on others to do their work for them. It may be "tough love", but we're doing you a favor by NOT doing it for you. :(

        P Offline
        P Offline
        Pete OHanlon
        wrote on last edited by
        #6

        It's alright. He only has 10 minutes left before he fails. Harsh I know, but I will not condone cheating.

        I'm not a stalker, I just know things. Oh by the way, you're out of milk.

        Forgive your enemies - it messes with their heads

        My blog | My articles | MoXAML PowerToys | Onyx

        1 Reply Last reply
        0
        • P Paladin2000

          Sorry. I can't speak for any of the others here, but I personally could not see helping someone cheat their way into better grades, perhaps thus earning a degree (and job) they don't deserve, and can't sustain without relying on others to do their work for them. It may be "tough love", but we're doing you a favor by NOT doing it for you. :(

          N Offline
          N Offline
          Nabawoka
          wrote on last edited by
          #7

          not cheating but i ended the exam i can't answer three question :( now i want to know the code ... and wait the answer tomorro or after tomorrow not now :) calculating in programing difficult

          A 1 Reply Last reply
          0
          • N Nabawoka

            An array is defined to be a Jeffian array if it contains at least one prime number and the minimum prime number in the array is equal to the count of all the prime numbers in the array. Recall that a prime number is an integer greater than 1 whose only factors are 1 and itself. For example, the array {3, 6, 7, 10, 5} is a Jeffian array because: 1. it contains at least one prime number 2. its minimum prime number is 3 and that is the count of the number of primes (3, 7, 5) in the array

            modified on Wednesday, January 26, 2011 5:20 PM

            A Offline
            A Offline
            AspDotNetDev
            wrote on last edited by
            #8

            This is quite simple really:

            1. Take the inverse cosine of the dot product of the array and its transverse.
            2. Once you have this result, compare it to the sum of the edges of the numbers arranged into the indentity matrix multiplied by the primes of the original array arranged diagonally into a matrix.
            3. Once you perform that comparison, realize that it does you no good and that you should really focus on the assignment at hand rather than asking strangers on a forum to complete it for you. That's dishonest and stupid.

            [WikiLeaks Cablegate Cables]

            P 1 Reply Last reply
            0
            • N Nabawoka

              An array is defined to be a Jeffian array if it contains at least one prime number and the minimum prime number in the array is equal to the count of all the prime numbers in the array. Recall that a prime number is an integer greater than 1 whose only factors are 1 and itself. For example, the array {3, 6, 7, 10, 5} is a Jeffian array because: 1. it contains at least one prime number 2. its minimum prime number is 3 and that is the count of the number of primes (3, 7, 5) in the array

              modified on Wednesday, January 26, 2011 5:20 PM

              N Offline
              N Offline
              Nabawoka
              wrote on last edited by
              #9

              cheat cheat cheat what i want help from you and you can't help me to depend on my self and i thanxs you i ended the exam and not passed if one can help me in any time not now i will thank him very much

              T P F 3 Replies Last reply
              0
              • A AspDotNetDev

                This is quite simple really:

                1. Take the inverse cosine of the dot product of the array and its transverse.
                2. Once you have this result, compare it to the sum of the edges of the numbers arranged into the indentity matrix multiplied by the primes of the original array arranged diagonally into a matrix.
                3. Once you perform that comparison, realize that it does you no good and that you should really focus on the assignment at hand rather than asking strangers on a forum to complete it for you. That's dishonest and stupid.

                [WikiLeaks Cablegate Cables]

                P Offline
                P Offline
                Pete OHanlon
                wrote on last edited by
                #10

                Oh for goodness sake. I didn't expect anybody to actually post the solution here. BTW, it's the log of the inverse cosine otherwise you end up with a nullity array.

                I'm not a stalker, I just know things. Oh by the way, you're out of milk.

                Forgive your enemies - it messes with their heads

                My blog | My articles | MoXAML PowerToys | Onyx

                A T 2 Replies Last reply
                0
                • N Nabawoka

                  not cheating but i ended the exam i can't answer three question :( now i want to know the code ... and wait the answer tomorro or after tomorrow not now :) calculating in programing difficult

                  A Offline
                  A Offline
                  AspDotNetDev
                  wrote on last edited by
                  #11

                  Mohamed Nabawy wrote:

                  not cheating but i ended the exam

                  Suuuuure. Is that why you deleted the message you just had posted that said you had 30 minutes to go on your exam? If you have all this free time now, you would do yourself some good by solving this yourself. Perhaps you should go to your teacher if you are unable to provide a solution. I'm sure he/she would be happy to help you so that you don't fail again in the future.

                  [WikiLeaks Cablegate Cables]

                  N 1 Reply Last reply
                  0
                  • A AspDotNetDev

                    Mohamed Nabawy wrote:

                    not cheating but i ended the exam

                    Suuuuure. Is that why you deleted the message you just had posted that said you had 30 minutes to go on your exam? If you have all this free time now, you would do yourself some good by solving this yourself. Perhaps you should go to your teacher if you are unable to provide a solution. I'm sure he/she would be happy to help you so that you don't fail again in the future.

                    [WikiLeaks Cablegate Cables]

                    N Offline
                    N Offline
                    Nabawoka
                    wrote on last edited by
                    #12

                    thaaanks but the exam ended .. and i will do my best in other exams :D

                    T 1 Reply Last reply
                    0
                    • N Nabawoka

                      cheat cheat cheat what i want help from you and you can't help me to depend on my self and i thanxs you i ended the exam and not passed if one can help me in any time not now i will thank him very much

                      T Offline
                      T Offline
                      TheGreatAndPowerfulOz
                      wrote on last edited by
                      #13

                      do you really think we're that stupid? oh, wait, you're a cheater... so yeah, you do think we're that stupid.

                      "If your actions inspire others to dream more, learn more, do more and become more, you are a leader." - John Quincy Adams

                      N 1 Reply Last reply
                      0
                      • P Pete OHanlon

                        Oh for goodness sake. I didn't expect anybody to actually post the solution here. BTW, it's the log of the inverse cosine otherwise you end up with a nullity array.

                        I'm not a stalker, I just know things. Oh by the way, you're out of milk.

                        Forgive your enemies - it messes with their heads

                        My blog | My articles | MoXAML PowerToys | Onyx

                        A Offline
                        A Offline
                        AspDotNetDev
                        wrote on last edited by
                        #14

                        Ah, but you see the nullity array is cancelled out during the substitution phase. It's also important to keep the nullity array to preserve the equation's covariance, otherwise you end up with an unprovable postulate.

                        [WikiLeaks Cablegate Cables]

                        P P 2 Replies Last reply
                        0
                        • T TheGreatAndPowerfulOz

                          do you really think we're that stupid? oh, wait, you're a cheater... so yeah, you do think we're that stupid.

                          "If your actions inspire others to dream more, learn more, do more and become more, you are a leader." - John Quincy Adams

                          N Offline
                          N Offline
                          Nabawoka
                          wrote on last edited by
                          #15

                          i don`t know what i can say to you but Thank you think

                          1 Reply Last reply
                          0
                          • N Nabawoka

                            cheat cheat cheat what i want help from you and you can't help me to depend on my self and i thanxs you i ended the exam and not passed if one can help me in any time not now i will thank him very much

                            P Offline
                            P Offline
                            Pete OHanlon
                            wrote on last edited by
                            #16

                            Look. It's easy. You have an array. Iterate over the array and check to see if each item is a prime. If it's a prime, increment your prime count and check to see if it's lower than any other primes you've found. At the end of the function, compare the count of primes with the lowest prime value. There are various optimisations that you can apply, but this is the basic functionality. If you want to have a career that doesn't involve flipping burgers then you need to apply critical thinking to problems. The question gave you all the information that you needed, but you chose to waste your time here rather than breaking the problem down into small steps.

                            I'm not a stalker, I just know things. Oh by the way, you're out of milk.

                            Forgive your enemies - it messes with their heads

                            My blog | My articles | MoXAML PowerToys | Onyx

                            1 Reply Last reply
                            0
                            • A AspDotNetDev

                              Ah, but you see the nullity array is cancelled out during the substitution phase. It's also important to keep the nullity array to preserve the equation's covariance, otherwise you end up with an unprovable postulate.

                              [WikiLeaks Cablegate Cables]

                              P Offline
                              P Offline
                              Pete OHanlon
                              wrote on last edited by
                              #17

                              Ah. I see you are applying Huffman's theory of indeterminate coexistence. An interesting theory, but as I only program in L space, completely useless in the 11th dimension. Still, it should suffice in a four dimension Euclidean universe.

                              I'm not a stalker, I just know things. Oh by the way, you're out of milk.

                              Forgive your enemies - it messes with their heads

                              My blog | My articles | MoXAML PowerToys | Onyx

                              1 Reply Last reply
                              0
                              • N Nabawoka

                                thaaanks but the exam ended .. and i will do my best in other exams :D

                                T Offline
                                T Offline
                                TheGreatAndPowerfulOz
                                wrote on last edited by
                                #18

                                just remember: cheaters never prosper, unless you work for WallStreet

                                "If your actions inspire others to dream more, learn more, do more and become more, you are a leader." - John Quincy Adams

                                1 Reply Last reply
                                0
                                • A AspDotNetDev

                                  Ah, but you see the nullity array is cancelled out during the substitution phase. It's also important to keep the nullity array to preserve the equation's covariance, otherwise you end up with an unprovable postulate.

                                  [WikiLeaks Cablegate Cables]

                                  P Offline
                                  P Offline
                                  PIEBALDconsult
                                  wrote on last edited by
                                  #19

                                  I find that Capo Ferro cancels Agrippa.

                                  1 Reply Last reply
                                  0
                                  • N Nabawoka

                                    cheat cheat cheat what i want help from you and you can't help me to depend on my self and i thanxs you i ended the exam and not passed if one can help me in any time not now i will thank him very much

                                    F Offline
                                    F Offline
                                    fjdiewornncalwe
                                    wrote on last edited by
                                    #20

                                    For me, I'm glad you did not pass. As a mentor, I would not want to waste my time interviewing, never mind hiring, someone who wants to cheat on an exam, because these are the same people who will cheat in the workplace and life in general. Sorry if this sounds mean, but you got what you earned.

                                    I wasn't, now I am, then I won't be anymore.

                                    1 Reply Last reply
                                    0
                                    • P Pete OHanlon

                                      Oh for goodness sake. I didn't expect anybody to actually post the solution here. BTW, it's the log of the inverse cosine otherwise you end up with a nullity array.

                                      I'm not a stalker, I just know things. Oh by the way, you're out of milk.

                                      Forgive your enemies - it messes with their heads

                                      My blog | My articles | MoXAML PowerToys | Onyx

                                      T Offline
                                      T Offline
                                      Thomas Krojer
                                      wrote on last edited by
                                      #21

                                      and don´t forget to XOR the 13th and 17th element of the array

                                      I cannot remember: What did I before google?

                                      P 1 Reply Last reply
                                      0
                                      • T Thomas Krojer

                                        and don´t forget to XOR the 13th and 17th element of the array

                                        I cannot remember: What did I before google?

                                        P Offline
                                        P Offline
                                        Pete OHanlon
                                        wrote on last edited by
                                        #22

                                        Oh. I think we all took that as read.

                                        I'm not a stalker, I just know things. Oh by the way, you're out of milk.

                                        Forgive your enemies - it messes with their heads

                                        My blog | My articles | MoXAML PowerToys | Onyx

                                        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