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