下面程序的功能是从键盘输入一组字符,从中统计大写字母和小写字母的个数,选择 ()填入到【 】中。 using System; class test { static void Main() { int m=0,n=0; char c; while ((【 】)!=’\n’) { if (c>=’A’ && c<=’z’) m++ ; if (c>=’a’ && c<=’z’) n++ ; } console.writeline("{0},{1}", m, n);> A、c=Convert.ToChar(Console.Read())

B、c=Console.Read() C、c=Console.ReadLine() D、c=Convert.ToChar(Console.ReadLine())

时间:2023-09-14 11:21:39

相似题目