public class Solution {
public static void main(String[] args) {
//write your code here
int b = sqr(5);
System.out.println("the square of 5" +b);
}
public static int sqr(int a) {
return a * a;
}
}
please help that i did that program to work but failed to satisfy the condition that program to should
display output in text how???
1. The program should output text.![]()
