SOLUTION ONLY IN SHELL SCRIPTING NO OTHER LANGUAGE IMPORTANT NOT TO USE " * " OPERATOR IN YOUR SOLUTION ---------------------------------------------------------- WRITE A SHELL SCRIPT TO MULTIPLY TWO NUMBERS WITH USING THE " * " OPERATOR. Shell Scripting Function Specifications: Use the function name as the product() and the 2 integer arguments. This function prints the product of two values. Function specification: int product(int ,int ); Input format : Input consists of two integers multiplicand and multiplier. Output format : The output consists of an integer which is the product of two inputs. Refer to Sample Input and Output for formatting details. [ All text in bold corresponds to input and the rest corresponds to output.] Sample Input and Output : Enter the two numbers : 2 3 The product is 6
SOLUTION ONLY IN SHELL SCRIPTING NO OTHER LANGUAGE
IMPORTANT NOT TO USE " * " OPERATOR IN YOUR SOLUTION
----------------------------------------------------------
WRITE A SHELL SCRIPT TO MULTIPLY TWO NUMBERS WITH USING THE " * " OPERATOR.
Shell Scripting Function Specifications:
Use the function name as the product() and the 2 integer arguments.
This function prints the product of two values.
Function specification:
int product(int ,int );
Input format :
Input consists of two integers multiplicand and multiplier.
Output format :
The output consists of an integer which is the product of two inputs.
Refer to Sample Input and Output for formatting details.
[ All text in bold corresponds to input and the rest corresponds to output.]
Sample Input and Output :
Enter the two numbers :
2
3
The product is 6
Trending now
This is a popular solution!
Step by step
Solved in 2 steps with 1 images