Jan 21, 2019 · 8085 program to subtract two consecutive bytes of an array; 8085 program to exchange content of HL register pair with DE register pair; Program to find the HCF of two given bytes in 8085 Microprocessor; 8085 program to access and exchange the content of Flag register with register B; 8085 program to find maximum and minimum of 10 numbers
Java program to calculate the sum of digits of a number. Here we will discuss the various methods to calculate the sum of the digits of any given number with the help of Java Programs. The compiler has been added so that you can execute the program yourself, alongside suitable examples and sample outputs. The ...
29. The product of two consecutive natural numbers is always a (a) even number (b) odd number (c) prime number (d) none of these 30. The HCF of 17 and 3 is (a) 17 (b) 3 (c) 51 (d) 1 31. If the HCF of two numbers 216 and 1176 is 24, then their LCM will be
11. The HCF of two consecutive even numbers is always a) 1 b) 2 c) 0 d) none of these . 12. The greatest number which exactly divide 200 and 320 is a) 10 b) 20 c) 16 d) 40 13. Find the largest number that divides 18 and 24 without a remainder. a) 11 b) 2 c) 6 d) none of these. 14.
Theorem 2 : Consecutive Fibonacci numbers are relatively prime. Proof by Contradiction: Assume that there exist some two consecutive Fibonacci numbers say . fn and fn+1 that have a common divisor d, where d is greater than 1. Thus, their difference fn+1 - fn = fn-1 will also be divisible by d.
Write a program that reads an integer and checks whether it is odd or even. For example: Enter a number: 25. 25 is an odd number. Answer: The following is an algorithm for this program using a flow chart. We can use a modulus operator to solve this problem. There will be no remainder for even number when we modulus the number by 2. The source code:
24. If the sum of LCM and HCF of two numbers is 1260 and their LCM is 900 more than their HCF then the product of the two numbers is a. 203400 b. 194400 c. 198400 d. 205400 25. The remainder when the square of any prime number greater than 3 is divided by 6, is a. 1 b. 3 c. 2 d. 4 26. For some integer m, every even integer is of the form,
(d) The HCF of an even and an odd number is even 2. By using dot (•) patterns, which of the following numbers can be arranged in all the three ways namely a line, a triangle and a rectangle?