当前位置:首页 » 英文单词 » 不合格个数英语怎么说及英文单词

不合格个数英语怎么说及英文单词

发布时间: 2020-12-28 00:41:59

1. C语言统计英语单词的个数

C语言:统计输入的一行英文句子中的字母及单词个数,带注解!

//通过键盘输入一行英文句子,统计其中的英文字母和单词的数量,单词之间用空格分开(标点符号不算单词);
#include<stdio.h>
#include<string.h>
#include<stdlib.h>
main()
{
char string[100];//根据拟从键盘输入的字串的长度需要适当调整,要避免输入的长度超出设定的范围。
char c;
int i, num=0,sum=0,word=0; //定义 word 用来指示一个单词是不是结束或新单词是否开始;
printf("请从键盘输入一行需要查询的英文句子,进行单词数量统计: ");
gets(string); //从键盘获得输入的字符串;
//以下统计句子中的英文字符个数;
for(i=0;(c=string[i])!='';i++) //for循环语句,遍历句子中的每个字符;初始化i=0;若字符c!='',即未到达结束符''的话,执行i++;
{
if(('A'<=string[i]&&string[i]<='Z')||('a'<=string[i]&&string[i]<='z'))
sum++; //以上为条件句,如果字符在A~Z,a~z 范围之内的话,则执行sum++,累加英文字母个数;
}
//以下统计句子中的英文单词个数;
for(i=0;(c=string[i])!='';i++) //for循环语句,遍历句子中的每个字符;初始化i=0;若字符c!='',即未到达结束符''的话,执行i++;
{ //''用作字符串的结束符。它的ASCII数值是0。
if(c<'A'||c>'Z'&&c<'a'||c>'z') //设定条件:如果字符 c 遇到A~Z和a~z范围之外其它符号字符的话,包括遇到空格' ';
word=0; //上面条件为真时,执行这里,置word=0,表示未遇到单词,或,一个单词已结束,同时也意味着要开始遇到下一个新单词;
else if(word==0) //当条件(word==0)为真,执行下面花括号里面的语句;当word==0时,表示未遇到字母,即未遇到单词,或上一个单词已结束;
{
word=1; //那么置word=1,即,表示下一个新单词开始,
num++; //执行num++,累加英文单词的个数;
}
}
printf(" ");
printf("您输入的这句英文句子中共包含%d个英文字符,%d个英文单词。 ",sum,num);

}

示例:输入语句: Hello ! My friend , how are you ? (注意单词的前后有空格)

2. 烦请英文翻译高手翻译以下几个英文单词及句子,谢谢

first school leaving certificate 第一个毕业证明书
ordinary level certificate 普通的平实证明
advanced level certificate 先进的平实证明
bachelors degree in English modern letters(I.M.N ) 英国现代信件回(I.M.N)学士学位
G.B.H.S BAMENDANKWEH 这个我翻译不出来答

3. 几个英文单词,帮忙翻译

1、have a busy day 忙碌的一抄天
2、袭talk quietly 轻声讲话
3、walk quickly 走路迅速
4、line up 排队
5、walk slowly 慢慢地走
6、talk loudly 大声讲话
7、listen carefully 认真地听
8、usually 经常
9、sometimes 偶尔
10、after that 从那以后
11、look after 照料
12、little cousin 小外甥
13、at the museum 在电影院
14、learn lots of things 学到很多东西
15、look and listen carefully 认真地看并且听
16、go to the hospital 去医院(医生;去办事的人)
17、go to hospital 去医院看病(病人)
18、have a fever 发烧
19、get some fruit 吃些水果
20、you're right 你是正确的

4. (翻译成英文)单词数60个左右

Welcome everybody to come the zoo visit, this zoo has the very long history, is our country biggest zoo, inside approximately some 300 kind of different animals, you can see in inside comes from Australia's collar ktranslitk and from Brazil's giraffe, what the children most like looking is the panda, because they are very lovable,

5. 翻译及格英文单词

sagartiidae 绿海葵科
hibiscus 芙蓉属的植物
syriacus 叙利亚的, 叙利亚语的
defoliation 落叶
porokaiwhiria (新西兰)蒙立米科的一种小乔木或灌木

6. 不合格的英文单词怎么写

不合格
[词典] unqualified; disqualification; below grade; below proof; off-grade;
[例句]学校不会接受任何学生质量不合格的作业。
A school would not accept low-quality work from any student

7. 中英翻译--中文个数与英文单词数对比基本统计

About the basic statistics of the vocabularies of chinese and english words, someone thinks the ratio of translation english to chinese is about 1:1.19, chinese to english is about 1:0.6. Is there more authoritative statistic about it?

8. 不满足用一个英文单词怎么说

dissatisfy

9. 用英语说数学中的加,减,乘,除,等于,不等于怎么说要单词和音标的

请问数学里加、减、乘、除用英语怎么念?
已解决 悬赏分: | 提问者:jackyliu2050 | 解决时间:2007-12-13 08:40 | 检举
如题,先谢了!

最佳答案
1.加:用and ,plus , added to 等词表示。 2 + 4 = 6 可译为: Two and four is six . Two plus four is equal to six . Two added to four equals six . Two and four makes six . Two plus four will be six . If you add two to four , you get six .

2.减:用minus, taken from, subtracted from 等表示。 8-3=可译为: Eight minus three is five . Eight minus three is equal to five . Three taken from eight leaves five . Three subtracted from eight leaves five . Take three from eight and the remainder is five .

3.乘:用multiply···by···/ multiplied by / time 等表示。 3 × 5 = 15可译为: Multiply three by five is (gives)fifteen . Three multiplied by five is fifteen . Multiply three by five , you get fifteen . Three times five is (makes, will be , equals, is equal to ) fifteen .

4.除:用divide···by···/ divided by / divide···into··· / into 等表示。 24 ÷ 8 = 3 可译为: Twenty-four divided by eight makes (is , equals ) three . Twenty-four divided by eight is equal to three . Eight into twenty-four goes three times . Divide eight into twenty-four , and you get three . Divide twenty-four by eight , and you get three

10. 统计若干行英文中单词的个数和每个单词出现的次数.

自己写的!
#include<stdio.h>
#include<string.h>
intmain()
{
charstr[500],temp[10];
charword[50][10],count[50]={0};
inti=0,j=0,k,t;
gets(str);
while(str[i]!='')
{
if(i==0&&str[0]!='')
{
sscanf(str,"%s",temp);
strcpy(word[j],temp);
count[j++]=1;
}
elseif(str[i-1]==''&&str[i]!='')
{
sscanf(str+i,"%s",temp);
for(k=0;k<j;k++)
if(strcmp(word[k],temp)==0)
{
count[k]++;
break;
}
if(k==j)
{
strcpy(word[j],temp);
count[j++]=1;
}
}
i++;

}
for(i=0;i<j-1;i++)
(k=i+1;k<j;k++)
if(count[i]<count[k])
{
strcpy(temp,word[i]);
strcpy(word[i],word[k]);
strcpy(word[k],temp);
t=count[i];
count[i]=count[k];
count[k]=t;
}
t=0;
for(i=0;i<j;i++)
{
printf("%s:%d ",word[i],count[i]);
t+=count[i];
}
printf("总个数:%d ",t);
return0;
}

热点内容
喜欢的人是你英语怎么说呢 发布:2024-12-26 08:56:25 浏览:321
运动怎么写英语作文 发布:2024-12-26 08:46:44 浏览:442
this英语单词怎么读 发布:2024-12-26 08:46:43 浏览:124
互联网怎么用作文英语 发布:2024-12-26 08:33:12 浏览:512
实际极限英语怎么说及英语单词 发布:2024-12-26 08:20:47 浏览:663
作文有层次感用英语怎么说 发布:2024-12-26 08:19:12 浏览:898
春节来源作文英语怎么说 发布:2024-12-26 08:17:53 浏览:769
高耸英语怎么说及英语单词 发布:2024-12-26 08:12:51 浏览:837
200字英语反思作文怎么写大全 发布:2024-12-26 08:07:09 浏览:355
用英语写一天的生活作文怎么写 发布:2024-12-26 08:06:17 浏览:221