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. Visual Basic
  4. Algorithms to Visual Basic Code

Algorithms to Visual Basic Code

Scheduled Pinned Locked Moved Visual Basic
csssaleshelp
35 Posts 10 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.
  • J Jashan123

    Hey guys I'm new to Visual Basic and would find it very helpful if you guys could do this for me so I get a better understanding. You have to change these algorithms to visual basic code This is the first one 1. Get price of item 2. Get salestaxrate 3. sales tax= price of item x sales tax rate 4. Final price = price of item + sales tax 5. Display final price And the second one 1. get hours worked 2. get pay rate 3. If hours worked less then or lower than 40 then 3. gorss pay = pay rate times hours worked 4. else 4. gross pay = pay rate times 40 plus 1.5 times pay rate times ( hours worked minus 40) 5. Display gross pay If anyone could help it would be great help. Thank you

    T Offline
    T Offline
    Tim Carmichael
    wrote on last edited by
    #2

    If you provide a code sample of what you've done, you are much more likely to receive assistance. Simply asking someone to do the work for you if unlikely to produce any positive results.

    1 Reply Last reply
    0
    • J Jashan123

      Hey guys I'm new to Visual Basic and would find it very helpful if you guys could do this for me so I get a better understanding. You have to change these algorithms to visual basic code This is the first one 1. Get price of item 2. Get salestaxrate 3. sales tax= price of item x sales tax rate 4. Final price = price of item + sales tax 5. Display final price And the second one 1. get hours worked 2. get pay rate 3. If hours worked less then or lower than 40 then 3. gorss pay = pay rate times hours worked 4. else 4. gross pay = pay rate times 40 plus 1.5 times pay rate times ( hours worked minus 40) 5. Display gross pay If anyone could help it would be great help. Thank you

      Z Offline
      Z Offline
      ZurdoDev
      wrote on last edited by
      #3

      There are a million and 1 ways to do this. Where are you stuck?

      There are only 10 types of people in the world, those who understand binary and those who don't.

      M 1 Reply Last reply
      0
      • Z ZurdoDev

        There are a million and 1 ways to do this. Where are you stuck?

        There are only 10 types of people in the world, those who understand binary and those who don't.

        M Offline
        M Offline
        Mycroft Holmes
        wrote on last edited by
        #4

        Down vote countered - I was going to be a little more cutting in my remarks to the OP.

        Never underestimate the power of human stupidity RAH

        J 1 Reply Last reply
        0
        • J Jashan123

          Hey guys I'm new to Visual Basic and would find it very helpful if you guys could do this for me so I get a better understanding. You have to change these algorithms to visual basic code This is the first one 1. Get price of item 2. Get salestaxrate 3. sales tax= price of item x sales tax rate 4. Final price = price of item + sales tax 5. Display final price And the second one 1. get hours worked 2. get pay rate 3. If hours worked less then or lower than 40 then 3. gorss pay = pay rate times hours worked 4. else 4. gross pay = pay rate times 40 plus 1.5 times pay rate times ( hours worked minus 40) 5. Display gross pay If anyone could help it would be great help. Thank you

          B Offline
          B Offline
          Bernhard Hiller
          wrote on last edited by
          #5

          Do not repost: Algorithms turning into Visual Basic Code[^]

          N T 2 Replies Last reply
          0
          • M Mycroft Holmes

            Down vote countered - I was going to be a little more cutting in my remarks to the OP.

            Never underestimate the power of human stupidity RAH

            J Offline
            J Offline
            Jashan123
            wrote on last edited by
            #6

            fUCK YOUR MUM FUCKWIT DIE IN A HOLE.

            T 1 Reply Last reply
            0
            • B Bernhard Hiller

              Do not repost: Algorithms turning into Visual Basic Code[^]

              N Offline
              N Offline
              Nagy Vilmos
              wrote on last edited by
              #7

              Don't argue, or you'll get the famed 'mum / in a hole' put down

              J 1 Reply Last reply
              0
              • J Jashan123

                fUCK YOUR MUM FUCKWIT DIE IN A HOLE.

                T Offline
                T Offline
                Tim Carmichael
                wrote on last edited by
                #8

                So... you ask for help. People advise you to provide what you've done... and you insult them? Not a good way to get help...

                J 1 Reply Last reply
                0
                • T Tim Carmichael

                  So... you ask for help. People advise you to provide what you've done... and you insult them? Not a good way to get help...

                  J Offline
                  J Offline
                  Jashan123
                  wrote on last edited by
                  #9

                  Yeah thanks for the ''help'' man

                  D 1 Reply Last reply
                  0
                  • J Jashan123

                    Yeah thanks for the ''help'' man

                    D Offline
                    D Offline
                    Dave Kreskowiak
                    wrote on last edited by
                    #10

                    I don't know what you were expecting. All you did was post your assignment but none of the work you've already done. At no point did you say anything about what problem you were having. Without that, it's impossible to help with any accuracy or clarity. We will help with the code you're having a problem with IF you prove you've done some work and are stuck. We will NOT do your work for you.

                    A guide to posting questions on CodeProject

                    Click this: Asking questions is a skill. Seriously, do it.
                    Dave Kreskowiak

                    J 1 Reply Last reply
                    0
                    • D Dave Kreskowiak

                      I don't know what you were expecting. All you did was post your assignment but none of the work you've already done. At no point did you say anything about what problem you were having. Without that, it's impossible to help with any accuracy or clarity. We will help with the code you're having a problem with IF you prove you've done some work and are stuck. We will NOT do your work for you.

                      A guide to posting questions on CodeProject

                      Click this: Asking questions is a skill. Seriously, do it.
                      Dave Kreskowiak

                      J Offline
                      J Offline
                      Jashan123
                      wrote on last edited by
                      #11

                      I will forever be in your gratitude if you do this

                      D 1 Reply Last reply
                      0
                      • N Nagy Vilmos

                        Don't argue, or you'll get the famed 'mum / in a hole' put down

                        J Offline
                        J Offline
                        Jashan123
                        wrote on last edited by
                        #12

                        Sorry man it just i am in such deep shit right know and if someone could do this it would literally save my life

                        C 1 Reply Last reply
                        0
                        • J Jashan123

                          I will forever be in your gratitude if you do this

                          D Offline
                          D Offline
                          Dave Kreskowiak
                          wrote on last edited by
                          #13

                          WHAT DID I JUST TELL YOU??? WE WILL NOT DO YOUR WORK FOR YOU! It is set that way for a reason. The industry has too many idiot programmers who couldn't debug their way out of a paper bag and you want us to add to that pool?!?! Doing your work for you doesn't teach you a damn thing! Sorry, but you just failed your class.

                          A guide to posting questions on CodeProject

                          Click this: Asking questions is a skill. Seriously, do it.
                          Dave Kreskowiak

                          J Z 3 Replies Last reply
                          0
                          • D Dave Kreskowiak

                            WHAT DID I JUST TELL YOU??? WE WILL NOT DO YOUR WORK FOR YOU! It is set that way for a reason. The industry has too many idiot programmers who couldn't debug their way out of a paper bag and you want us to add to that pool?!?! Doing your work for you doesn't teach you a damn thing! Sorry, but you just failed your class.

                            A guide to posting questions on CodeProject

                            Click this: Asking questions is a skill. Seriously, do it.
                            Dave Kreskowiak

                            J Offline
                            J Offline
                            Jashan123
                            wrote on last edited by
                            #14

                            It's for school and i don't even want to do programming. I am sorry if i offended anyone it just that i don't understand this and if i don't get this done my parents are going to kill me.

                            D OriginalGriffO 2 Replies Last reply
                            0
                            • J Jashan123

                              It's for school and i don't even want to do programming. I am sorry if i offended anyone it just that i don't understand this and if i don't get this done my parents are going to kill me.

                              D Offline
                              D Offline
                              Dave Kreskowiak
                              wrote on last edited by
                              #15

                              Duck before the bullets hit you, not after.

                              A guide to posting questions on CodeProject

                              Click this: Asking questions is a skill. Seriously, do it.
                              Dave Kreskowiak

                              J 1 Reply Last reply
                              0
                              • D Dave Kreskowiak

                                WHAT DID I JUST TELL YOU??? WE WILL NOT DO YOUR WORK FOR YOU! It is set that way for a reason. The industry has too many idiot programmers who couldn't debug their way out of a paper bag and you want us to add to that pool?!?! Doing your work for you doesn't teach you a damn thing! Sorry, but you just failed your class.

                                A guide to posting questions on CodeProject

                                Click this: Asking questions is a skill. Seriously, do it.
                                Dave Kreskowiak

                                J Offline
                                J Offline
                                Jashan123
                                wrote on last edited by
                                #16

                                This is the onoly time i am ever going to do coding seriously please you will be my savior if you do this please.

                                1 Reply Last reply
                                0
                                • D Dave Kreskowiak

                                  Duck before the bullets hit you, not after.

                                  A guide to posting questions on CodeProject

                                  Click this: Asking questions is a skill. Seriously, do it.
                                  Dave Kreskowiak

                                  J Offline
                                  J Offline
                                  Jashan123
                                  wrote on last edited by
                                  #17

                                  Okay thank you very helpful at this time. Thank you. Thank you. Please understand my pain

                                  D 1 Reply Last reply
                                  0
                                  • J Jashan123

                                    It's for school and i don't even want to do programming. I am sorry if i offended anyone it just that i don't understand this and if i don't get this done my parents are going to kill me.

                                    OriginalGriffO Offline
                                    OriginalGriffO Offline
                                    OriginalGriff
                                    wrote on last edited by
                                    #18

                                    Jashan123 wrote:

                                    I am sorry if i offended anyone

                                    Is that why I came in to a message full of "F" words?

                                    You looking for sympathy? You'll find it in the dictionary, between sympathomimetic and sympatric (Page 1788, if it helps)

                                    "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
                                    "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

                                    J 1 Reply Last reply
                                    0
                                    • OriginalGriffO OriginalGriff

                                      Jashan123 wrote:

                                      I am sorry if i offended anyone

                                      Is that why I came in to a message full of "F" words?

                                      You looking for sympathy? You'll find it in the dictionary, between sympathomimetic and sympatric (Page 1788, if it helps)

                                      J Offline
                                      J Offline
                                      Jashan123
                                      wrote on last edited by
                                      #19

                                      Yeah you know what fuck your mum and i hope she gets gangraped and then you have to watch it for the rest of your life. Die in a fucking hole while i do your mum anal

                                      OriginalGriffO D 2 Replies Last reply
                                      0
                                      • J Jashan123

                                        Yeah you know what fuck your mum and i hope she gets gangraped and then you have to watch it for the rest of your life. Die in a fucking hole while i do your mum anal

                                        OriginalGriffO Offline
                                        OriginalGriffO Offline
                                        OriginalGriff
                                        wrote on last edited by
                                        #20

                                        Remind me to help you in future, it's so rewarding...

                                        You looking for sympathy? You'll find it in the dictionary, between sympathomimetic and sympatric (Page 1788, if it helps)

                                        "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
                                        "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

                                        J 1 Reply Last reply
                                        0
                                        • OriginalGriffO OriginalGriff

                                          Remind me to help you in future, it's so rewarding...

                                          You looking for sympathy? You'll find it in the dictionary, between sympathomimetic and sympatric (Page 1788, if it helps)

                                          J Offline
                                          J Offline
                                          Jashan123
                                          wrote on last edited by
                                          #21

                                          OOOHH, thank you for the help you gave me. I will repay it by fucking your mum harder next time

                                          OriginalGriffO 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