Recent content by RollerCoaster

  1. R

    Closed Ang gulo! haha

    I believe this is the solution of your Professor. He used division and modulo operator. Division by 10 in an integer and assign it within itself will remove its last digit + doing modulo operator by 10 will get the last digit. import java.util.Scanner; public class Main{ public static void...
  2. R

    Closed Login using array

    package com.bankingsys; import com.bankingsys.BankingSystem; import java.util.Scanner; public class BankingSystem{ public static String username[]= {"hakdog","lloyd","dekudeku"}; public static String password[]={"lloydkun","samson","deku"}; public static String...
Back
Top