Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package snippet;
- import java.util.Scanner;
- public class Hw {
- public static void main(String[] args) {
- // TODO Auto-generated method stub
- Scanner sc = new Scanner(System.in);
- String S = sc.nextLine();
- System.out.println("Length of string"+S.length());
- String A = sc.nextLine();
- System.out.println("Yes");
- String B = sc.nextLine();
- int B = sc.nextInt();
- for (int B=0; B<1; B++) {
- String C = sc.nextLine();
- String C1 = C1.replace("7", "");
- System.out.println(7);
- for (int i=0; i<100; i++) {
- System.out.println("===");
- }
- for (int A1=0; A1<5; A1++) {
- System.out.println("++");
- }
- for (int B1=0; B1<11; B1++) {
- System.out.println("HI");
- }
- for (int C2=0; C2<10; C2++) {
- System.out.println("Yummy");
- }
- for (int D=0; D<23; D++) {
- System.out.println("Bruce");
- }
- for (int E=0; E<30; E++) {
- for (int F=1; F<5; F++) {
- }
- char[] G = new char[7];
- for (int i=0; i<S.length(); i++) {
- G [i] = S.charAt(i);
- }
- char[] H = S.toCharArray();
- for (int i=0; i<H.length; i++) {
- System.out.println(H[i]);
- int count = 0;
- int A1 = 4;
- int B1 = 4;
- for (int A1=0; A1<=4; A1++) {
- for (int B1=0; B1<=4; B1++) {
- if (A1*B1<=total
- && A1+B1!=0) {
- count++;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement