diff_months: 19

CSC404: PROGRAMMING II Assignment

Download Solution Now
Added on: 2022-12-22 07:23:45
Order Code: 481917
Question Task Id: 0

Questions

 UiTM Johor will organize an Active Learning Workshop among lecturers from UiTM and other universities in Malaysia. This workshop will be held for two days. The participants can choose either weekdays or weekends to attend this workshop. If the participants are from UiTM, 15% will be given as a discount. Below is the fee rate for the workshop:

  1. Write the function getInput ( ) which is used to get the input for day code (D- Weekday and E-Weekend), university code (U-UiTM and O-other universities), number of person from the user and return them to the main function through its parameters
  2. Write the function named calcPayment ( ) which receives day code, university code and number of person as its parameters. This function will calculate the payment that the user needs to pay based on the day code and return the payment to the main program. If the code is incorrect then the payment is set to 0. The function returns the payment to the main program.
  3. Write the main program which calls the above functions. It will then check for discounted price, if any, and display the user's information (day code, university code and number of person) with the
  • Uploaded By : Katthy Wills
  • Posted on : December 22nd, 2022
  • Downloads : 0
  • Views : 155

Download Solution Now

Can't find what you're looking for?

Whatsapp Tap to ChatGet instant assistance

Choose a Plan

Premium

80 USD
  • All in Gold, plus:
  • 30-minute live one-to-one session with an expert
    • Understanding Marking Rubric
    • Understanding task requirements
    • Structuring & Formatting
    • Referencing & Citing
Most
Popular

Gold

30 50 USD
  • Get the Full Used Solution
    (Solution is already submitted and 100% plagiarised.
    Can only be used for reference purposes)
Save 33%

Silver

20 USD
  • Journals
  • Peer-Reviewed Articles
  • Books
  • Various other Data Sources – ProQuest, Informit, Scopus, Academic Search Complete, EBSCO, Exerpta Medica Database, and more