Question: Convert the number Report Given a number having ten digits, convert it to a string following the below - mentioned rules. Rules for conversion: Separate

Convert the number
Report
Given a number having ten digits, convert it to a string following the below-mentioned rules.
Rules for conversion:
Separate the number into a set of four-three-three digits
Use the following prefixes for successive digits
Single numbers: just read them separately.
Two Consecutive numbers: double
Three Consecutive numbers: triple
Four Consecutive numbers: quadruple
Input
The first line of input is a string of ten digits.
Output
The output should print the given number in a human-readable format.
Refer to the sample input and output.
Explanation
 Convert the number Report Given a number having ten digits, convert

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!