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> | |
double average(int x,int y); | |
int main() | |
{ | |
int x,y; | |
double ave; | |
printf("Please enter first number ->"); |
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> | |
#define max 10 | |
int main() | |
{ | |
int data[max],sort[max]; | |
int i,cnt,a,c; | |
for(i=0;i<max;i++) | |
{ | |
cnt=i+1; |
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,cnt; | |
int num[10]; | |
for (i=0;i<10;i++) | |
{ | |
cnt=i+1; | |
printf("No.%d ->",cnt); |
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 N,cnt,point,max,check; | |
printf("Pls enter the [MAX] number you want to judge the one which is a prime number\n"); | |
printf("->"); | |
scanf("%d",&max); |
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 cnt,i; | |
i=1; | |
for(i=1;i<=10;i++) | |
{ | |
for(cnt=0;cnt<i;cnt++) |
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 maiin() | |
{ | |
int cnt,win,lose,data; | |
win=0; | |
lose=0; | |
for(cnt=1;cnt<=10;cnt++) | |
{ |
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() | |
{ | |
printf("Hello,World"); | |
} |