about | help | code help+videos | done | prefs |
Given a rational number as input, classify it by returning its most specific subset: rational, integer, whole number, or natural number. Return one of the following four options as your result: "rational", "integer", "whole number", or "natural number". whatType(77) → 'natural number' whatType(-0.7) → 'rational' whatType(-135) → 'integer' ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Difficulty: 125
Copyright Nick Parlante 2017 - privacy