Skip to content

Mishal Alquraini#21

Open
MishalAlquraini wants to merge 6 commits intoJoinCODED:mainfrom
MishalAlquraini:main
Open

Mishal Alquraini#21
MishalAlquraini wants to merge 6 commits intoJoinCODED:mainfrom
MishalAlquraini:main

Conversation

@MishalAlquraini
Copy link

I completed the task with no issues after having a lot of errors

fun main() {
var temp: Double = 36.5;
var rain: Boolean = false;
var letter: Char = 'M';

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use better names for your variables.

  • temp could mean temporary. So let's call it temperature
  • Since rain is a boolean, lets form it into a question like isRaining

Copy link

@mmadooh mmadooh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work!

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants