Exercise 1: Variables
Let's try practicing the concepts and syntax we have learned so far.
We'll cover the following
Problem Statement
- Print the high-level data type of the given variable.
- Print the low-level data type of the given variable.
Use a
cat()
statement to display text on the screen, showing the high-level and low-level data types.
Input
A testVariable
containing the variable being tested.
Output
The high-level and low-level data types of that variable.
Sample Input
1.9
Sample Output
numeric double
Test Yourself
Write your code in the given area. If you get stuck, you can look at the solution.
# Write your code herecat(" ")