write java code that looks for an exclamation point and then records in it a int value
- User
write java code that looks for an exclamation point and then records in it a int value
- Assistant
Here's a sample Java code that looks for an exclamation point in a given string, and if found, it records an integer value in it:
java