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 com.gmail.sergaav.dz3_2; | |
import java.util.Scanner; | |
public class dz3_2 { | |
public static void main(String[] args) { | |
double x; | |
double y; | |
double r=4.0; | |
Scanner sc = 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 com.gmail.sergaav.dz3_1; | |
import java.util.Scanner; | |
public class dz3_1 { | |
public static void main(String[] args) { | |
double a; | |
double b; | |
double c; |
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 com.gmail.sergaav.dz1_3; | |
import java.util.Scanner; | |
public class dz1_3 { | |
public static void main(String[] args) { | |
Scanner sc=new Scanner(System.in); | |
System.out.println("Введите радиус окружности"); | |
double radius; | |
radius=sc.nextDouble(); | |
double ringlength; |
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 com.gmail.sergaav.dz1_2; | |
import java.util.Scanner; | |
public class dz1_2 { | |
public static void main(String[] args) { | |
Scanner sc = new Scanner(System.in); | |
System.out.println("Введите стороны треугольника :\n" + "Сторона а:"); | |
double a = sc.nextDouble(); | |
System.out.println("\n" + "Сторона b:"); |
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 com.gmail.sergaav.dz1_1; | |
import java.util.Scanner; | |
public class dz1_1 { | |
public static void main(String[] args) { | |
Scanner sc = new Scanner(System.in); | |
System.out.println("Введите 5-и значное целое число: \n"); | |
int x; |
NewerOlder