This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.lang.Math; | |
public class QuadraticEqRoots{ | |
public static int gcd(int a,int b){ | |
int res = 0; | |
while (b > 0){ | |
int temp = b; | |
b = a % b; | |
a = temp; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class October16Assignment{ | |
public static void main(String []args){ | |
double a = 15; | |
int term = 11; | |
boolean ar = true; | |
//////////////////////////// | |
//Updated on October 21st// |