🦅IRA RAGLE

9 views
Skip to first unread message

Ira Ragle

unread,
May 21, 2020, 11:18:49 PM5/21/20
to I<code> GO
import java.util.Scanner; // This will solve any linear equation for one variable. // ie: 2x+5=4x+9 class LEquation { public static void main(String args[]) { String eqn = ""; float ans = 0; float coeffSum = 0; float constSum = 0; float coeffx[] = new float[100]; float[] constant = new float[100]; Scanner in = new Scanner(System.in); System.out.println("Enter a linear equation\n"); eqn = in.nextLine(); eqn
Reply all
Reply to author
Forward
0 new messages