Skip to content

athoobalroumi#17

Open
athoob123 wants to merge 3 commits intoJoinCODED:mainfrom
athoob123:main
Open

athoobalroumi#17
athoob123 wants to merge 3 commits intoJoinCODED:mainfrom
athoob123:main

Conversation

@athoob123
Copy link

No description provided.

fun main() {
val myDouble: Double = 36.4
val myBoolean: Boolean = true
val myChar: Char = 'A'

Choose a reason for hiding this comment

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

Few things here.

  • Give your variables meaningful names. temperature instead of myDouble, isRaining instead of myBoolean, etc.
  • Becareful of using ChatGPT. It can seriously hinder your learning

@@ -0,0 +1,7 @@
fun main() {
var score = 20

Choose a reason for hiding this comment

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

In this exercise, the score is supposed to be initialized as 10, then on a separate line it should be changed to 20, not on the same line.

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.

2 participants