QUESTION
For this purpose, the system will generate a
one-time password to be shared with the
customer. The customer who is placing the
order has to enter that one-time password to
confirm the order. The one-time password is
generated for the enqueued orderid, as the
product of the digits in the orderiD.
Write an algorithm to find the one time
password for the order ID
Input
The input consists of an integer orderid,
representing the ord ID of the enqueued
order.
Output
Print an integer representing the one-time
password generated for the order ID
Example
Input:
2342
Output:
48
Explanation:
On multiplying the digits of the ordered, the
one-time password generated is 48 (2*3*4*2).
O Type here to search
Answers
Answered by
14
Answer:
Bioethanol fuel is mainly produced by the sugar fermentation process, although it can also be manufactured by the chemical process of reacting ethylene with steam. ... Ethanol burns to produce carbon dioxide and water. Ethanol is a high octane fuel and has replaced lead as an octane enhancer in petrol.
Bioethanol fuel is mainly produced by the sugar fermentation process, although it can also be manufactured by the chemical process of reacting ethylene with steam. ... Ethanol burns to produce carbon dioxide and water. Ethanol is a high octane fuel and has replaced lead as an octane enhancer in petrol.
Similar questions
Art,
1 month ago
India Languages,
1 month ago
Computer Science,
3 months ago
Computer Science,
3 months ago
Science,
9 months ago
English,
9 months ago