Twitter Facebook Delicious Digg Stumbleupon Favorites More

Friday, 20 July 2018

kotline remainder

fun main(args:Array<String>)
{
    var firstno=8    var secno=3    var result:Int?
    result=firstno%secno
    println("THE RESULT  IS $result")

    //or    println("THE RESULT IS ${firstno % secno }")
}
  • THE RESULT  IS 2
  • THE RESULT IS 2
Share:

0 comments:

Post a Comment

Search This Blog

Popular Posts

Pages

how to make crores from 1 lakh in stock markets in 1 year

how to make crores from 1 lakh in stock markets in 1 year

Blogger Tutorials

Blogger Templates

Sample Text

Copyright © ANDROID TUTORIAL CODE | Powered by Blogger
Design by SimpleWpThemes | Blogger Theme by NewBloggerThemes.com & Distributed By Protemplateslab