import java.io.*;
import java.util.*;
publicclassHuxleyCode {
publicstaticvoidmain(String args[]) {
Scanner input =newScanner(System.in);
int x = input.nextInt();
int y = input.nextInt();
int total =0;
for(int count =1; count <50; count++){
if(count % x ==0&& count % y ==0)
total = total +1;
}
System.out.printf("%d", total);
}
}
Posted by: Guest
on October-01-2021
0
java to python converter online
import java.util.*;
publicclassfungsiA {
publicstaticvoidmain(String args []) throws InterruptedException {
Scanner sc =newScanner(System.in);
int n;
System.out.print("Masukkan N :");
n = sc.nextInt();
long starTime = System.nanoTime();
for (int i =1; i <= n; i = i +2) {
for (int j =1; j <= n/2; j++) {
System.out.println(2);
}
}
long endTime = System.nanoTime();
long totalTime = (endTime - starTime) / 1000000;
System.out.println("Total Time : "+ totalTime +" milliseconds or "+ (totalTime / 1000) +" seconds");
}
}
Posted by: Guest
on October-03-2021
0
java to python converter online
import java.util.*;
classD
{
publicstaticvoidmain(string args[])
}
int a[]=newint[5];
int b[]=newint[5];
Scanner kb=newSacnner(System.in;
for(intcj=0;j<=2;j++)
{
a[j]=kb.nextInt();
for(int k=0;k<=2;k++)
}
b[k]=kb.nextInt();
}
int r1=a[2];
int r2=a[2];
double x=3.14*(double)r1*r1;
double y=3.14*(double)r2*r2;
double sum=x+y;
double ans=(1.813/sum)*100;
System.out.printf("%.2f",ans);
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems
resetting your password contact us
Check Your Email and Click on the link sent to your email