7-4 exercise 1-8 (15分)
Write a program to count blanks, tabs, and newlines.(’ ’ ‘\t’ ‘\n’)
输入格式:
text
输出格式:
three numbers
输入样例:
在这里给出一组输入。例如:
a
输出样例:
在这里给出相应的输出。例如:
1 0 1
#include<stdio.h>
int main()
{
int a = 0
7-4 exercise 1-8 (15分)
Write a program to count blanks, tabs, and newlines.(’ ’ ‘\t’ ‘\n’)
输入格式:
text
输出格式:
three numbers
输入样例:
在这里给出一组输入。例如:
a
输出样例:
在这里给出相应的输出。例如:
1 0 1
#include<stdio.h>
int main()
{
int a = 0