From 76f3a6f605d14c33b0613b0f8e4459f70c4a91a2 Mon Sep 17 00:00:00 2001 From: Dawn Rose <63545980+tastethedream@users.noreply.github.com> Date: Mon, 5 Dec 2022 15:56:27 +0000 Subject: [PATCH] Update ex2-8.md Code amended to reflect QC2 section 1.9 --- ch02/ex2-8.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ch02/ex2-8.md b/ch02/ex2-8.md index d44d96f..fd42568 100644 --- a/ch02/ex2-8.md +++ b/ch02/ex2-8.md @@ -5,11 +5,11 @@ ```dart void main(){ - int? ten = null; - print ('ten: $ten'); + int ?myVariable; + print ('ten: $myVariable'); - ten = 10; - print ('ten: $ten'); + myVariable = 10; + print ('ten: $myVariable'); } ```