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
| package edu2; | |
| import java.io.IOException; | |
| import java.util.InputMismatchException; | |
| import java.util.Scanner; | |
| public class Test | |
| { | |
| static float a, b, c; | |
| static float d; |
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
| package edu; | |
| import static java.lang.System.out; | |
| import java.lang.Math; | |
| class SquareEquation { | |
| public static void main(String[] args) { | |
| out.print("Решим квадратное уравнение"); | |
| if (args.length < 3) { | |
| out.println("Введите параметры уравнения(a, b, c) в командной строке"); |