Coding

LCM Program in Java

The LCM program in Java outputs the LCM of the given numbers. In Arithmetic, the lowest common multiple, least common multiple or smallest common multiple of the two numbers p and q are represented by LCM(p, q). It Read more…

By Umar Khan, ago
Coding

SOLID design problem

Hello, I’m challenged to make a tempConverter with SOLID. It has to convert from Celcius, Kelvin, and Fahrenheit. Now I thought of using an interface called ItemConvert with the classes Celcius, Fahrenheit, and Kelvin implementing Read more…

By Umar Khan, ago