Skip to content

Instantly share code, notes, and snippets.



View GitHub Profile
#include <stdio.h>
int primeno(int, int);
int main()
int num,c;
printf("Enter a number: ");
scanf("%d", &num);
c= primeno(num, num / 2);
if (c == 1)
View Result
Compilation completed successfullyOn-the-fly type checking
Welcome to the future,of programmingfaster!
View programmingfaster
* We declare a package-level function main which returns Unit and takes
* an Array of strings as a parameter. Note that semicolons are optional.
fun main(args: Array<String>) {
println("Welcome to the future,of programmingfaster!")