題目:A palindromic number is a 'symmetrical' number like 16461 or 158851, thatremains the same when its digits are reversed.Write to Boolean function to determine if a given number is a palindromicnumber. It is is, return true; otherwise return false.[Demand]Write a function called onesDigit() to return the ones digit of a givennumber.Write a function called highestDigit() to return the highest digit of a givennumber.Call these functions to determine the palindromic numbers.我的程式碼:#include
2006-11-24 06:39:13 · 1 個解答 · 發問者 柳子 5 in 電腦與網際網路 ➔ 程式設計
//Power by Microsoft Visual Studio 2005//可以使用 Dev-C++ 編譯此程式#include
2006-11-25 19:22:19 · answer #1 · answered by Big_John-tw 7 · 0⤊ 0⤋