Minus Zero Detector

JavaScript Easy 8 views
Back to Questions

Problem Description

One number is given as string (can be -0). Print YES if it is exactly -0 in JavaScript, else NO.

Input Format

One line number string.

Output Format

YES or NO.

Sample Test Case

Input:
-0
Output:
YES

Constraints

Input is a valid JS number string.

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next