This file contains 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 IgorDolgov; | |
import java.util.Scanner; | |
public class IndexMassBody { | |
static float roost, ves, index; | |
static String s; | |
public static void main (String[] args) { | |
Scanner scanner = new Scanner(System.in); |
This file contains 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 IgorDolgov; | |
import java.util.Scanner; | |
public class IndexMassBody { | |
static float roost, ves, index; | |
static String s, s1; | |
public static void main (String[] args) { | |
String s1 = imb(); |
This file contains 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 IgorDolgov; | |
public class TableB { | |
public static void main (String[] args) { | |
multiline(2, 6); | |
System.out.println("-----------------------------------------------------------"); | |
multiline(6, 10); |
This file contains 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 IgorDolgov; | |
import java.util.ArrayList; | |
public class TableC{ | |
public static void main (String[] args) { | |
ArrayList t1 = multiline(2, 6); | |
for (int i = 0; i < t1.size(); i++) { |
This file contains 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
<?xml version="1.0" encoding="UTF-8"?> | |
<module type="JAVA_MODULE" version="4"> | |
<component name="NewModuleRootManager" inherit-compiler-output="true"> | |
<exclude-output /> | |
<content url="file://$MODULE_DIR$" /> | |
<orderEntry type="inheritedJdk" /> | |
<orderEntry type="sourceFolder" forTests="false" /> | |
</component> | |
</module> |
This file contains 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 Test.CalcRA; | |
/** | |
* Написать Римско-Арабский консольный калькулятор чтобы он сам распознавал нужные символы и выдавал ответ | |
* Вот это написал уже работает | |
* Помогите плиз отладить чтоб идеально работал | |
*/ | |
import java.util.Arrays; | |
import java.util.InputMismatchException; | |
import java.util.Scanner; |
This file contains 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 calcRA; | |
import java.util.InputMismatchException; | |
import java.util.Scanner; | |
public class RomanArabianCalc { | |
static Scanner scanner = new Scanner(System.in); | |
static int number1, number2; | |
static char operation; |
This file contains 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 IgorDolgov; | |
import java.util.Scanner; | |
public class SeaBattle002 { | |
public static void main (String[] args) { | |
char cells[] = new char[10]; | |
for (int i = 0; i < cells.length; i++) { | |
cells[i] = '.'; | |
} |
This file contains 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 IgorDolgov; | |
public class TableB003 { | |
public static void main (String[] args) { | |
for (int k = 0; k < 2; k++) { | |
for (int j = 1; j < 10; j++) { | |
for (int i = 1; i < 10; i++) { | |
System.out.printf("%5d", i * j); |
This file contains 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 IgorDolgov; | |
import java.util.Arrays; | |
import java.util.Random; | |
public class RandomArrayGenerator { | |
public static void main (String[] args) { | |
//Метод randomArrayGenerator(n, m); выводит n-ое кол-во случайных чисел от 0 до m | |
int[] array = randomArrayGenerator(1, 350); | |
System.out.println(Arrays.toString(array)); |
OlderNewer