Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update inshackle.sh #37

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

vibhansh19
Copy link

No description provided.

@Kenyancurfew
Copy link

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