#include<stdio.h> int main(int argc, char *argv[]){ int result = 0; int i = 0; for(i = 1; i <= 1000; i++){ result += i; } printf("sum of 1 to 1000 : %d\n", result); return 0; }
Gotatic: This is a simple go web server made by kwonsukmin. I think it helps you to learn 'go'. [source] http://ilovebambi.com/221290591255?Redirect=Log&from=postView Source Code: [github] https://github.com/hermes7308/gotatic
Comments
Post a Comment