@suriya
Nothing here yet.
Nothing here yet.
Mar 20, 2023 · 1 min read · class Main { public static void main (String args[]){ int N=11; int smallnum=22; int Max=Math.max(N,smallnum);//MAX NUM SINCE WE CAN REDUCE NUMBER OF STEPS,,IF WE TAKE MINIMUM THE NUMBERS BETWEEN MIN AND MAX CANT BE MULTIPLE OF BOTH ,...
Join discussionMar 19, 2023 · 1 min read · note:coded using while and for loops check both programs. [Success] Your code was executed successfully Actually, in the general method it takes too much time since we check until the minimum of the both numbers and find the maximum/greatest common d...
Join discussion