Проверьте программу, кто хорошо разбирается в программировании.
Program P7;
var S:String; k,c,n,i,v:byte;
T:string
Begin
Write ('na ulite sneg');
readln (S);
n:=legth (S);
For i:=1 to n do
case S[I] of
' ':k:=k+1;
end;
Writeln ('kolicestvo clov,'k);
For i:=1 to n do
case S[I] of
',' , ';' , '.' , '!' ,':', '
end;
Writeln ('kolicestvo znakov prepinania',k);
For I:=1 to n do
case S[c] of
'b','c','d','f','g','k','l','m','n','p','r','s',t':k :=k+1
writeln('kolicestvo soglasnih, k);
readkey
end.
Please enter comments
Please enter your name.
Please enter the correct email address.
You must agree before submitting.

Answers & Comments


Copyright © 2024 SCHOLAR.TIPS - All rights reserved.