摘要:
#include<stdio.h> int isUpTriangle(int myArray[][10],int n)//判断行标大于列标的所有元素是不是都是0,矩阵必须输入列 { int i,j; for(i=0;i<n;i++) { //每一行中行标大于列标的所有元素进行判断 for(j=0;j 阅读全文
posted @ 2020-03-31 09:45
金桔绒绒
阅读(1590)
评论(0)
推荐(0)
摘要:
#include<stdio.h> #include<string.h> void wordCounter(char sentence[]) { char newSentence[1000]=" "; int counter=0; int i=0; strcat(newSentence,senten 阅读全文
posted @ 2020-03-31 09:43
金桔绒绒
阅读(684)
评论(0)
推荐(0)
摘要:
#include<stdio.h> #include<string.h> int main() { char strResource[80],ch,t; char strConserve[80]; int i,flag,j; int count=0,length=0; ch=getchar(); f 阅读全文
posted @ 2020-03-31 09:41
金桔绒绒
阅读(1078)
评论(0)
推荐(0)
摘要:
#include<stdio.h> int main() { int i,n,s; int max=0,min=0;//初始化max和min int a[10]; scanf("%d",&n); for(i=0;i<n;i++) { scanf("%d",&a[i]); } for(i=1;i<n; 阅读全文
posted @ 2020-03-31 09:39
金桔绒绒
阅读(4694)
评论(0)
推荐(0)
摘要:
#include<stdio.h> int main() { int a[6][6]; int b[6]={0}; int i,m,n,j; scanf("%d %d",&m,&n); for(i=0;i<m;i++)//m行 { for(j=0;j<n;j++)//n列 { scanf("%d", 阅读全文
posted @ 2020-03-31 09:38
金桔绒绒
阅读(1868)
评论(0)
推荐(0)
摘要:
#include<stdio.h> #include<string.h> void search(char strSource[],char c)//查找这样的字符和输出功能 { int i=0; int indexPos=-1;//记录位置,-1代表不是正常位置,找的时候如果找到了正常位置就变更为 阅读全文
posted @ 2020-03-31 09:37
金桔绒绒
阅读(1363)
评论(0)
推荐(0)

浙公网安备 33010602011771号