Find out if the given number is a square of natural number. - MATLAB Cody - MATLAB Central

Problem 60745. Find out if the given number is a square of natural number.

Difficulty:Rate
For example ,
Input =4,output =1
Input=1,output=1
Input=0,output=0
Input=8,output=0

Solution Stats

76.0% Correct | 24.0% Incorrect
Last Solution submitted on Feb 12, 2025

Solution Comments

Show comments

Problem Recent Solvers18

Suggested Problems

Problem Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Go to top of page