0% found this document useful (0 votes)
29 views3 pages

Programming 1-CT874: Name: Student No: 13230035 Lecturer: Seamus Hill Course: Date

This document is a student assignment containing pseudocode to calculate car parking charges based on hours parked and output the results to the console. It also includes pseudocode for temperature conversion. The assignment was submitted by Maurice Walsh, student number 13230035, to Seamus Hill for the Programming 1 course on October 8th, 2013.

Uploaded by

Maurice Walsh
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
29 views3 pages

Programming 1-CT874: Name: Student No: 13230035 Lecturer: Seamus Hill Course: Date

This document is a student assignment containing pseudocode to calculate car parking charges based on hours parked and output the results to the console. It also includes pseudocode for temperature conversion. The assignment was submitted by Maurice Walsh, student number 13230035, to Seamus Hill for the Programming 1 course on October 8th, 2013.

Uploaded by

Maurice Walsh
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

Programming 1-CT874 2013

Subject: Title:

Programming 1-CT874 Assignment 4.

Name:

Maurice Walsh

Student No: 13230035 Lecturer: Course: Date: Seamus Hill H.Dip.Appl.Sc. (Software Design & Development) 08/10/2013

1|Page 13230035

Programming 1-CT874 2013 Question 1:


psuedo code: calculateCharges(int hours) { if hours is less than 3 charge is $2. done. hoursAt50cents = hours - 3; totalCharges = hoursAt50cents*.50 + $2 if total charges is less than 10, that is the actual charge. done. Else actual charge is 10. done }

Temperature Conversion

Q1: Output from console:

2|Page 13230035

Programming 1-CT874 2013

Question 2:

Car Park charges:

Question 2:

Output to console:

3|Page 13230035

You might also like