[/caption]
multiplication 2 digit by 1 digit
The botheration is to analysis whether the decimal representation of the accustomed bifold cardinal is divisible by 10 or not. Take care, the cardinal could be actual ample and may not fit alike in continued continued int. The access should be such that there are aught or minimum cardinal of multiplication and analysis operations. No arch 0’s are there in the input.
Examples:
Approach: First of all we charge to apperceive that aftermost chiffre of pow(2, i) = 2, 4, 8, 6 if i % 4 is according to 1, 2, 3, 0 respectively, area i is greater than according to 1. So, in the bifold representation we charge to apperceive the position of chiffre ‘1’ from the right, so as to apperceive the absolute ability of 2 with which it is activity to be multiplied. This will advice us to access the aftermost chiffre of the appropriate absolute power’s of 2. We can add these digits and again analysis whether the aftermost chiffre of the sum is 0 or not which implies that the cardinal is divisible by 10 or not. Note that if the aftermost chiffre in the bifold representation is ‘1’ again it represents an odd number, and appropriately not divisible by 10.
Time Complexity: O(n), area n is the cardinal of digits in the bifold number.
This commodity is contributed by Ayush Jauhari. If you like GeeksforGeeks and would like to contribute, you can additionally address an commodity application contribute.geeksforgeeks.org or mail your commodity to contribute@geeksforgeeks.org. See your commodity actualization on the GeeksforGeeks capital folio and advice added Geeks.
Please address comments if you acquisition annihilation incorrect, or you appetite to allotment added advice about the affair discussed above.
[caption id="" align="aligncenter" width="400px"]Multiplication Practice Worksheets Grade 3 | multiplication 2 digit by 1 digit
[/caption]
[caption id="" align="aligncenter" width="400px"]Multiplying a 2-Digit Number by a 1-Digit Number (A) Math ... | multiplication 2 digit by 1 digit
[/caption]
[caption id="" align="aligncenter" width="400px"]2-Digit by 1-Digit Multiplication with Grid Support (A) | multiplication 2 digit by 1 digit
[/caption]
[caption id="" align="aligncenter" width="400px"]2-Digit by 1-Digit Multiplication | Worksheet | Education.com | multiplication 2 digit by 1 digit
[/caption]
[caption id="" align="aligncenter" width="400px"]Grade 4 Multiplication Worksheets - free | multiplication 2 digit by 1 digit
[/caption]
[caption id="" align="aligncenter" width="400px"]Hard Multiplication 2-Digit Problems | Worksheet practice for 2 ... | multiplication 2 digit by 1 digit
[/caption]
[caption id="" align="aligncenter" width="400px"]Multiplying 2-Digit Numbers by 1-Digit Numbers Activity Sheet | multiplication 2 digit by 1 digit
[/caption]
[caption id="" align="aligncenter" width="400px"]Multiplication | Brainchimp | multiplication 2 digit by 1 digit
[/caption]
[caption id="" align="aligncenter" width="400px"]Grade 4 multiplication worksheets | multiplication 2 digit by 1 digit
[/caption]
[caption id="" align="aligncenter" width="400px"]Multi-Digit Multiplication | EdBoost | multiplication 2 digit by 1 digit
[/caption]