import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); Integer a = scanner.nextInt(); Integer b = scanner.nextInt(); Integer c = scanner.nextInt(); System.out.println((a+b)%c); System.out.println(((a%c) + (b%c))%c); System.out.println((a*b)%c); System.out.println(((a%c)*(b%c))%c); } }
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); Integer a = scanner.nextInt(); if (a=90) { System.out.println("A"); } else if (a=80) { System.out.println("B"); } else if (a=70) { System.out.println("C"); } else if (a=60) { System.out.println("D"); } else { System.out.println("F"); } } }
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); Integer a = scanner.nextInt(); Integer b = scanner.nextInt(); System.out.println(a+b); System.out.println(a-b); System.out.println(a*b); System.out.println(a/b); System.out.println(a%b); } }
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); Integer a = scanner.nextInt(); Integer b = scanner.nextInt(); System.out.println(a*b); } }
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); String a = scanner.nextLine(); if (a.equals("A+")){ System.out.println(4.3); } else if (a.equals("A0")) { System.out.println(4.0); } else if (a.equals("A-")) { System.out.println(3.7); } else if (a.equals("B+")) { System.out.println(3.3); } else if (a.equals("B0")) { S..