Skip to content

Instantly share code, notes, and snippets.

programmingfaster0226

View GitHub Profile
View programmingfaster.com
#include <stdio.h>
#include<conio.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!")
}
You can’t perform that action at this time.