This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
int main() | |
{ | |
int i; | |
int sum; | |
sum=0; | |
for (i=3;i<99;i+=2) | |
{ | |
printf("%d \n",i); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
//d | |
int main() | |
{ | |
int x; | |
int sum; | |
x=1; | |
while(x<=20) | |
{ | |
printf("%d \t",x); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
int main() | |
{ | |
int i; | |
int sum; | |
sum=0; | |
for (i=3;i<99;i+=2) | |
{ | |
printf("%d \n",i); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
//e | |
int main() | |
{ | |
int x; | |
for(x=1;x<=20;x++) | |
{ | |
printf("%d \t",x); | |
if(x%5==0) | |
printf("\n"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <math.h> | |
//c | |
int main() | |
{ | |
printf("%10.2f",pow(2.5,3)); | |
return 0; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <math.h> | |
//5-2 | |
int main() | |
{ | |
int x; | |
int y; | |
int i; | |
int j; | |
scanf("%d%d",&x,&y); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
int main() | |
{ | |
int i; int j; | |
char name[16]; | |
int max; | |
i=1; | |
while(i<=10) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sql.eachRow("select * from probe_c9488878_1day ") { | |
if(map."${it.gid}"==null) | |
{ | |
map."${it.gid}"=[] | |
} | |
map."${it.gid}"<< it | |
} | |
map.each { k,v-> println k } | |
map['19981'].each { println it.lat} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<title>Google Chart API plugin</title> | |
<meta name="layout" content="main" /> | |
</head> | |
<body> | |
<% | |
def labels = ['First','Second','Third'] | |
def colors = ['FF0000','00ff00','0000ff'] | |
def values = [35,45,10] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[flickr-gallery mode="photoset" photoset=" 72157622603296345" ] |
OlderNewer