From: isaac_2004@yahoo.com
Subject: integers into strings
Date: 1 Feb 2006 17:38:32 -0800
Date: 2006-02-01T17:38:32-08:00 [thread overview]
Message-ID: <1138844312.140458.73880@z14g2000cwz.googlegroups.com> (raw)
hi im new to ada and i want to take a number inputted from a user and
seperate the digits then arrange it in ascending and descending order
and subtract and ascending number from the descending number
for example
user inputs 7319
program outputs 9731 - 1379 = 8352
8532 - 2358 = 6174
and so on
also loop it until number acquired after subtraction is the same as
starting number
like this
6174
7641 - 1467 = 6174
what procedure would i use to do this
next reply other threads:[~2006-02-02 1:38 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-02 1:38 isaac_2004 [this message]
2006-02-02 2:15 ` integers into strings Jeffrey R. Carter
2006-02-02 3:43 ` isaac2004
2006-02-02 5:48 ` Simon Wright
2006-02-02 19:32 ` Jeffrey R. Carter
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox