void main() { int n=1+1; String str1 = "The sum of 1 and 1 is ${n}"; print(str1); String str2 = "The sum of 2 and 2 is ${2+2}"; print(str2); }
We use cookies to provide and improve our services. By using our site, you consent to our Cookies Policy. Accept Learn more