First Step to IT World

Friday, 19 December 2014

Program for Lowest Common Multiple




CODE

int a, b, t;
a = input1;
b = input2;
while (b != 0)
{
t = b;
b = a % b;
a = t;
}

output1= (input1 * input2) / a;

Posted by ujjwal at 10:14
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: Java Programs

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Popular Posts

Blog Archive

  • ►  2015 (8)
    • ►  January (8)
  • ▼  2014 (18)
    • ▼  December (18)
      • Use this steps to record HTML pages in each of yo...
      • GCD of Two Number in Wipro Format
      • GCD Of Two Number
      • MISCELLANEOUS MCQ'S
      • UNIX MCQ'S
      • TESTING MCQ'S
      • DBMS MCQ
      • Program for Frequency Counts
      • Program for Longest Palindromic Subsequence
      • LCM - Java
      • Program for Modular Exponentiation
      • Number of arrangements for given n numbers - java
      • Program for Lowest Common Multiple
      • Program for Sum Of Divisors
      • Program for Longest Common Subsequence
      • Program for Caeser Cipher
      • Java Programs - My name is khan
      • Java MCQ-1

Contributors

  • Bikesh G
  • Unknown
  • ujjwal
Travel theme. Theme images by Maliketh. Powered by Blogger.