Advertisement
Guest User

Untitled

a guest
Jun 16th, 2019
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.37 KB | None | 0 0
  1. package snippet;
  2.  
  3. import java.util.Scanner;
  4.  
  5. public class Hw {
  6.  
  7. public static void main(String[] args) {
  8. // TODO Auto-generated method stub
  9. Scanner sc = new Scanner(System.in);
  10.  
  11. String S = sc.nextLine();
  12. System.out.println("Length of string"+S.length());
  13.  
  14. String A = sc.nextLine();
  15. System.out.println("Yes");
  16.  
  17. String B = sc.nextLine();
  18. int B = sc.nextInt();
  19. for (int B=0; B<1; B++) {
  20.  
  21. String C = sc.nextLine();
  22. String C1 = C1.replace("7", "");
  23. System.out.println(7);
  24.  
  25. for (int i=0; i<100; i++) {
  26. System.out.println("===");
  27. }
  28. for (int A1=0; A1<5; A1++) {
  29. System.out.println("++");
  30. }
  31. for (int B1=0; B1<11; B1++) {
  32. System.out.println("HI");
  33. }
  34. for (int C2=0; C2<10; C2++) {
  35. System.out.println("Yummy");
  36. }
  37. for (int D=0; D<23; D++) {
  38. System.out.println("Bruce");
  39. }
  40.  
  41.  
  42. for (int E=0; E<30; E++) {
  43. for (int F=1; F<5; F++) {
  44. }
  45.  
  46. char[] G = new char[7];
  47. for (int i=0; i<S.length(); i++) {
  48. G [i] = S.charAt(i);
  49. }
  50.  
  51. char[] H = S.toCharArray();
  52. for (int i=0; i<H.length; i++) {
  53. System.out.println(H[i]);
  54.  
  55. int count = 0;
  56. int A1 = 4;
  57. int B1 = 4;
  58. for (int A1=0; A1<=4; A1++) {
  59. for (int B1=0; B1<=4; B1++) {
  60. if (A1*B1<=total
  61. && A1+B1!=0) {
  62. count++;
  63.  
  64.  
  65.  
  66.  
  67.  
  68. }
  69.  
  70. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement