Skip to content

Instantly share code, notes, and snippets.

@Steph-crown
Created October 9, 2020 07:42
Embed
What would you like to do?
Uses while loop to print all letters in my name
void main(){
String name = 'Steph Crown';
int counter = 0;
while (counter < name.length) {
print(name[counter]);
++counter;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment