How can I add to my pseudocode a SYSDATE to indicate a current system date and y
ID: 3570695 • Letter: H
Question
How can I add to my pseudocode a SYSDATE to indicate a current system date and year. This must be for a worker who has worked for a company 5 years or more (years hired).
Does anybody can help me with my pseudocode?
Thank You
Pseudocode:
// Declare a variable that hold string value.
Declare String name
// Declare a variable to hold low degree value name.
Declare String lowDegree
// Declare a variable that hold lowest degree accept value name,
// initialized to AS, AA, AAS.
Declare String lowest = AS, AA, AAS
// Declare a variable to hold lowest degree value name.
Declare String lowestDegree
// Declare an internal name for an input file.
Declare InputFile HRMasterFile
// Open a file named HRMaste.dat on the disk.
Open HRMasterFile
Explanation / Answer
Answer:
CODE ADDED IS REPRESENT IN BOLD LETTERS
// Declare a variable that hold string value.
Declare String name
// Declare a variable to hold low degree value name.
Declare String lowDegree
// Declare a variable that hold lowest degree accept value name,
// initialized to AS, AA, AAS.
Declare String lowest = AS, AA, AAS
// Declare a variable to hold lowest degree value name.
Declare String lowestDegree
// Declare an internal name for an input file.
Declare InputFile HRMasterFile
// Open a file named HRMaste.dat on the disk.
Declare Int storesysdate
// Declare an int to storecurrentdate
Declare Int storeyear
// Declare an int to store year
Declare string emplyeename
// Declare an name to emplyee name who works more than 5 years
Open HRMasterFile
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.