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

78.57% Correct | 21.43% Incorrect
Last Solution submitted on Mar 28, 2025

Solution Comments

Show comments
Registration Now Open for MathWorks AUTOMOTIVE CONFERENCE 2025
...
Hello Community, We're excited to announce that registration is now open for the...

Problem Recent Solvers20

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