![]() ‘Aisyiyah is responsible to coordinate community level activities of Sub-Recipients (SRs) as the representative of Civil Society Organizations (CSO’s) that currently covers 14 provinces and 130 districts/cities in Indonesia. In New Implementing Period (2018-2020), ‘Aisyiyah has been chosen as Principal Recipient (PR) of Global Fund to carry out a “Community TBC-HIV Care Program” to represent the Indonesian Civil Society. This organization focuses on Islamic movement, da’wah, and tajdid in all areas of life including the field of health and education. ‘Aisyiyah is one of the largest non-profit religious women’s organizations in Indonesia. ‘Aisyiyah () is a Muslim women’s organization founded in 1917 in Indonesia. ![]() ![]() Monitoring, Evaluation, and Learning Specialist (MEL Specialist)
0 Comments
The question is, write a program in C++ that finds HCF of two numbers. 1 also divides both numbers, but 2 is greater, so 2 is HCF of 10 and 12. ![]() That is, 2 is the highest number that divides both the number. HCF can be called as Highest Common Factor, or Greatest Common Factor (GCD).įor example, if there are two numbers say 10 and 12, then its highest common factor is 2. Unlike LCM, that deals multiple (lowest common), HCM deals with factor (highest common). C++ Program to Find LCM of Two NumbersĬout<<"\nLCM ("<<numOne<<", "<<numTwo<<") = "<<mp That is, both numbers 10 and 12 divides 60 without leaving any remainder (or with leaving 0 as remainder). For example, if there are two numbers say 10 and 12. The Greatest Common Divisor is also known as Highest Common Factor (HCF), or Greatest Common Factor (GCF), or Highest Common Divisor (HCD), or Greatest Common Measure (GCM). To find the GCD or HCF, we have to pass at least one non-zero value. Note – LCM is the Lowest Common Multiple or Least Common Divisor. Write a Python program to find the GCD of two numbers using While Loop, Functions, and Recursion. Then find and print its LCM on output as shown in the program given below. To find the LCF of two numbers in C++ programming, you have to ask from user to enter the two number.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |