Python Forum
Problem writing code with my pseudocode
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Problem writing code with my pseudocode
#1
Hello everyone, first time posting here. I was assigned the task of preparing a flowchart and pseudocode for a program that, when given a numerical input from the end user, calculates the hours worked in a 5 day week and in a 252 day year. We are not required to complete the code, but I really wanted to see where I could get with my pseudocode. I am lose from here though. I'm sure I am making silly mistakes, but it's my first real programming course, so please forgive me!

start
input myNumber
set myWeek = myNumber * 5
set myYear = myNumber * 252
print ("Please enter your hours: myNumber"), (("myWeek", "myYear"))
Reply


Messages In This Thread
Problem writing code with my pseudocode - by MattWilk97 - Aug-29-2017, 01:17 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Problem with writing an objective oriented python assignment mikikiki 5 2,080 Feb-21-2023, 01:18 PM
Last Post: jefsummers
  I need help writing this code for string properties and methods hannah71605 4 3,154 Mar-22-2021, 12:36 PM
Last Post: menator01
  Need help in Code for Writing View Functions in Flask - Python Web Framework ashishsme14 2 3,064 May-22-2020, 03:43 AM
Last Post: snippsat
  HELP - Writing code returning True or False Kokuzuma 2 2,808 Nov-01-2018, 03:37 AM
Last Post: Kokuzuma
  Can't figure out how to write the correct functions for my pseudocode mkrodick 2 2,738 Jul-30-2018, 12:30 PM
Last Post: ichabod801
  Speed of progress of writing code Johno 2 2,924 Jan-19-2018, 01:56 AM
Last Post: dwiga
  Converting pseudocode to Python qwertyK 3 23,738 Oct-24-2017, 01:41 PM
Last Post: qwertyK
  Need Help with writing this code!? r6lay 7 5,951 Feb-13-2017, 10:03 AM
Last Post: Ofnuts

Forum Jump:

User Panel Messages

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