Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
bowbahdoe committed Sep 28, 2024
1 parent 2b97744 commit acf599e
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions src/standard_input/transporting_data.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,9 @@ void main() {
if (firstName.isBlank()) {
System.out.println("First name cannot be blank.");
}
break;
else {
break;
}
} while (true);
String lastName;
Expand All @@ -53,8 +54,9 @@ void main() {
if (lastName.isBlank()) {
System.out.println("First name cannot be blank.");
}
break;
else {
break;
}
} while (true);
System.out.println("Hello " + firstName + " " + lastName + ".");
Expand Down Expand Up @@ -94,8 +96,9 @@ Person askForName() {
if (firstName.isBlank()) {
System.out.println("First name cannot be blank.");
}
break;
else {
break;
}
} while (true);
String lastName;
Expand All @@ -105,8 +108,9 @@ Person askForName() {
if (lastName.isBlank()) {
System.out.println("First name cannot be blank.");
}
break;
else {
break;
}
} while (true);
return new Person(firstName, lastName);
Expand Down

0 comments on commit acf599e

Please sign in to comment.