作业帮 > 英语 > 作业

1. Write a program to copy its input to its output, replacin

来源:学生作业帮 编辑:大师作文网作业帮 分类:英语作业 时间:2024/11/12 21:17:32
1. Write a program to copy its input to its output, replacing each string of one or more blanks by
single blank.
2. Write a program to copy its input to its output, replacing each tab by \t. This makes tabs visible in an unambiguous way.
3. Write a program to accepts a character using the scanf() function and determines if the character is a lowercase letter. A lowercase letter is any character that is greater than or equal to ‘a’ and less than or equal to ‘z’. If the entered character is a lowercase letter, display the message The character just entered is a lowercase letter. If the entered letter is not lowercase, display the message The character just entered is not a lowercase letter.
4. Write a program that first determine if an entered character is a lowercase letterI the letter is lowercase, determine and print out its position in the alphabet. For example, if the entered letter is c, the program should print out 3, for c is the third letter in the alphabet.
1. Write a program to copy its input to its output, replacin
1.编写一个程序,以将输入复制到输出,同时每一个字符串的一个或多个空格用单一的空白.
2.编写一个程序,以将输入复制到输出,同时每一页由不会.这使得标签中可以看到一个明确的方式.
3.编写一个程序,以接受一个角色使用scanf()的功能以及决定如果人物是一个小写字母.一个小写字母开头是任何一个字,大于或等于' A '和小于或等于' z '.如果输入的字符是一个小写字母的字符,显示消息刚进是一个小写字母.如果输入的字母是不小写,显示消息刚进入角色并不是一个小写字母.
4.编写一个程序,首先确定输入的字符是一个小写letterI这封信是小写,确定它的位置并且列印出来的英文字母.例如,如果输入的字母是c,程序应该打印出3,为c是第三个字母的字母表.
英文是你自己打上的吗
好辛苦