More Exercises Java - 01. Data Type Finder
Здравейте!
Дали някой би могъл да ми каже кой случай или кои случаи пропускам с този код, който дава 60/100?
Много ви благодаря предварително!
https://pastebin.com/gprmARHV
Това е условието на задачата:
1.Data Type Finder
You will receive an input until you receive "END". Find what data type is the input. Possible data types are:
- Integer
- Floating point
- Characters
- Boolean
- Strings
Print the result in the following format: "{input} is {data type} type"
Examples
Input |
Output |
5 2.5 true END |
5 is integer type 2.5 is floating point type true is boolean type |
a asd -5 END |
a is character type asd is string type -5 is integer type |