write a program in java to calculate the area of a square take appropriate variable names and their types in main method parameter as required for input (take as chalange for the brainliest) and give answer properly
Answers
Answered by
0
Explanation:
first take input from the user of the side of square
then create the function that finds the are if squre by taking the side of square
simply give the parameter of the variable in which the side of squarw is stored and then finally print out the value returned from the function
Similar questions