## Write a program that inputs a number and calculates the square root of the number if the number is greater than 0. Otherwise it displays a message “Number is negative or zero”

Write a program that inputs a number and calculates the square root of the number if the number is greater than 0. Otherwise it displays a message “Number is negative or zero” We learn Programming to solve problems using Computers. A Computer Program is the set of instructions that are given to a computer so…