programming; pseudocode of an algorithm

2 Pages
169 Views
Unlock Document

Department
Information Technology
Course
ITI1120
Professor
Shervin Shirmohammadi
Semester
Fall

Description
Develop the problem solving algorithm that receives a two digit positive integer and reverse its digits. Main GIVENS: (none) RESULTS: (none) INTERMEDIATE: num (a two digit integer numbers) dig1, dig2 (two integer numbers) HEADER: main() BODY: (get numbers from user) PrintLine(“Please give a two digit number and hit enter: ”) num ← ITI1120.readInt() (Call the problem solving algorithm 1) dig1 ← computeFirstDigit(num) (Call the problem solving algorithm 2) dig2 ← computeSecondDigit(num) (Print the results) PrintLine(“The
More Less

Related notes for ITI1120

Log In


OR

Join OneClass

Access over 10 million pages of study
documents for 1.3 million courses.

Sign up

Join to view


OR

By registering, I agree to the Terms and Privacy Policies
Already have an account?
Just a few more details

So we can recommend you notes for your school.

Reset Password

Please enter below the email address you registered with and we will send you a link to reset your password.

Add your courses

Get notes from the top students in your class.


Submit