This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void main() { | |
List<String> myList = [ | |
'Uforo Ekong', | |
'Wisdom Effiong', | |
'Simeon Moses', | |
'Endurance Blessed', | |
'Emem Edem', | |
]; | |
//print(myList[3]); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Challenge: Without changing the main() function, can you make this code work and get the result printed in the console? | |
void main() { | |
int step1Result = add(n1: 5, n2: 9); | |
int step2Result = multiply(step1Result, 5); | |
double finalResult = step2Result / 3; | |