Python Forum
Write pseudo code for a class assignment
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Write pseudo code for a class assignment
#1
Here is the assignment word for word. Any help in writing this or just giving me some clues to move me along would be appreciated.


Based on a lottery winning you are required to create a pseudo code on the following criteria:

Assumption there is 1 million dollars to be won and will be split as

There are 3 tickets

6 numbers - wins jackpot, this could be shared amongst the 3 tickets

5 numbers - 40% of the winning, if there was no jackpot, and can also be shared amongst winning tickets

4 numbers 20% of 1 million, if there was no jackpot, and can also be shared amongst winning tickets

3 numbers get a free ticket for next time lottery is played.
Reply


Messages In This Thread
Write pseudo code for a class assignment - by Scrimshot - May-07-2019, 03:04 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to write a dict code in python ariellea88 4 1,017 Oct-31-2023, 08:45 AM
Last Post: buran
  how to write code demon_calcifer 1 1,626 Nov-16-2021, 04:09 PM
Last Post: Larz60+
  Can someone please help me write the code Ram 8 3,352 Feb-08-2021, 08:21 AM
Last Post: Serafim
  Stein's GCD according to given pseudo code wanttolearn 2 1,971 Aug-27-2020, 07:58 PM
Last Post: wanttolearn
  Please help me to write code for this vij 8 3,797 Jun-10-2020, 12:13 PM
Last Post: pyzyx3qwerty
  morse code assignment raymond2688 11 8,586 Jul-29-2019, 07:43 PM
Last Post: raymond2688
  Need some help with a bit of code for an assignment. JackMercer50 1 2,287 Feb-09-2019, 04:13 PM
Last Post: stullis
  Write a code to output in alphabetical order AbdelaliPython 1 4,628 Jan-19-2018, 09:03 PM
Last Post: j.crater
  NEED HELP Pseudo-Random Numbers Kongurinn 9 5,466 Oct-23-2017, 04:17 AM
Last Post: Skaperen
  pseudo code for a quiz tsaward 4 7,707 Sep-15-2017, 09:59 PM
Last Post: nilamo

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020