package com.codegym.task.task01.task0127;
/*
Square of a number
*/
public class Solution {
public static void main(String[] args) {
int a = sqr(5);
System.out.println("the square of 5"+ a * a);
}
public static int sqr(int a) {
return a * a;
}
}
package com.codegym.task.task01.task0127;
/*
Square of a number
*/
public class Solution {
public static void main(String[] args) {
int a= sqr(5);
System.out.println("the square of 5"+ a * a);
}
public static int sqr(int a) {
return a * a;
}
}