Ad
Code
Diff
  • /**
    * The ReturnInputNumber program implements an application that
    * simply returns the integer entered as a parameter to the standard output.
    *
    * @author  clarkngo
    * @editor  Samurai_Velayat
    * @version 2.0
    * @since   2022-12-09
    */
    public class Program {
      
        public static int returnInputNumber(int num) {
          // Returns num as an integer to the standard output.
          return num;
        }
    }
    • public class Program
    • {
    • public static int returnInputNumber(int num)
    • {
    • /**
    • * The ReturnInputNumber program implements an application that
    • * simply returns the integer entered as a parameter to the standard output.
    • *
    • * @author clarkngo
    • * @editor Samurai_Velayat
    • * @version 2.0
    • * @since 2022-12-09
    • */
    • public class Program {
    • public static int returnInputNumber(int num) {
    • // Returns num as an integer to the standard output.
    • return num;
    • }
    • }