Amazing Search

Custom Search

Quote for the day!

Oh, life is a glorious cycle of song,
A medley of extemporanea;
And love is a thing that can never go wrong;
And I am Marie of Romania.

Dorothy Parker

Friday, May 1, 2009

Assignment 1 - FUNCTIONS

Put your answer in a 8.5 x 11 bond paper.

  1. Write a program that gets a long number as input, exchanges the first and last digits of the the number using a function and displays the changed number in the main program. Ask the user to input numbers if the a negative or zero is entered the program terminates.

3 comments:

Anonymous,  May 4, 2009 at 3:24 PM  

HIRAP SIR!

Anonymous,  May 4, 2009 at 3:57 PM  

ANG HIRAP NMN NITO SIR!!!

Post a Comment

  © Blogger template Coozie by Ourblogtemplates.com 2008

Back to TOP