```java
public void inputs(double p, double q, double e, double m, double d) {
//Encrypting a message
System.out.println(0
```java
public void test() {
BigInteger a = new BigInteger(„8“);
BigInteger b = new BigInteger(„13“);
BigInteger c = a.modPow(b, new BigInteger(„77“));
System.out.println("Result should actually be 45. However it is "+ c);
}
```
that should work. It‘s hard to write in proper syntax on a smartphone while almost falling asleep 🙈
it doesn't even allow import java.math.BigInteger;
The thing is: You wanna use BigIntegers instead of the normal data types because of the size limitations. The result of Math.pow(8, 13) is too big hence the number gets shortened/rounded. That‘s why it won‘t produce the correct result.