Update 'du1/program.c'

This commit is contained in:
Anzhelika Nikolaieva 2023-02-23 12:58:21 +00:00
parent 3b51500014
commit 1d10b5e3ed

View File

@ -1,9 +1,9 @@
#include <stdio.h>
int main(){
int r;
int r, count = 0;
while((r = getchar()) !=EOF && r){
if (r == '\n'){
count++;
}
if(r >= 'a' && r <= 'z'){