Skip to content

Update inshackle.sh#37

Open
vibhansh19 wants to merge 1 commit intocyberkallan:masterfrom
vibhansh19:patch-1
Open

Update inshackle.sh#37
vibhansh19 wants to merge 1 commit intocyberkallan:masterfrom
vibhansh19:patch-1

Conversation

@vibhansh19
Copy link
Copy Markdown

No description provided.

@Kenyancurfew
Copy link
Copy Markdown

Certainly! Here's a Kotlin code snippet to calculate the sum of two numbers:

fun main() {
    val num1 = 10
    val num2 = 5
    
    val sum = num1 + num2
    
    println("The sum of $num1 and $num2 is: $sum")
}

In this code, we declare two variables num1 and num2 and assign them the values 10 and 5 respectively. Then, we calculate the sum by adding num1 and num2 together and store the result in the variable sum. Finally, we print out the result using println.

When you run this code, it will output:

The sum of 10 and 5 is: 15

Feel free to modify the values of num1 and num2 to calculate the sum of any two numbers you desire. Let me know if you need any further assistance!

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