Product of the String
You are given an alphanumeric string S.Write a program to multiply all the charcters(except trailing zeroes) in S and print the output.
Rules for multiplication:
Input
The first line contains a string S.
Output
The output should be a integer denoting the product of characters.
Explanation
For N = 123a4
ASCII value of a is 97.
Product of digits of ASCII value of a is 9 *7 = 63.
Therefore the product of characters is 1*2*3*4*63*4 = 1512.
Sample Input1
123a4
Sample Output1
1512
2 HNO3 (aq) + Ba(OH)2 (aq) --> 2 H2O (aq) + Ba(NO3)2 (aq)
Determine the concentration (Molarity) of the nitric acid solution (HNO3).
3 Ba(NO3)2 (aq) + Al2(SO4)3 (aq) --> 3 BaSO4 (s) + 2 Al(NO3)3 (aq)
Constraints on the number of independently moving particles; i.e., on whether the particles must move as an aggregate or can move separately.How thermodynamic properties Entropy, would now respond to this constraints
Hydrogen peroxide (H2O2) is a powerful oxidizing agent used in concentrated solution in rocket fuels and in diluted solutions is hair bleach. An Aqueous solution of 25% (m/m) has a density of 1.05 g/ml. Calculate the concentration in terms of: