Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save ahossam88/130a47472f782d32995e63c8d78945aa to your computer and use it in GitHub Desktop.
Save ahossam88/130a47472f782d32995e63c8d78945aa to your computer and use it in GitHub Desktop.
Android for Beginners : If/Else Weather Quiz
boolean isRaining = false;
Log.v("WeatherActivity", "Thank you for using the WhetherWeather App.");
if (isRaining) {
Log.v("WeatherActivity", "It's raining, better bring an umbrella.");
} else {
Log.v("WeatherActivity", "It's unlikely to rain.");
}
@ahossam88
Copy link
Author

The course is very interesting

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment