Ch08 Quiz B Unfinished
Skeleton of a quiz on data. UNFINISHED.
-
Use
data
to create aQuizB1
data type that includes aDouble
,String
andInt
, in that order. -
Create an example
QuizB1
that contains the information 18.015, “Water” and 100. -
The following code generates an error even though
Fixit
was correctly defined. What do you think is wrong?err = (Fixit 32 /= Fixit 64)
-
Use record syntax with field names to create a type
QuizB2
that includes aDouble
field representing the distance