LAB
•Use if … else… to write a program which takes two floating point numbers and prints whether the second number is a square root of the first one.
•If the first number
entered is negative print “Error:
enter a positive number.”
•You may use only one return statement in your program and no exit() statements.