pemrograman
Teks editor
sederhana
2
Hello!
KELOMPOK 8
Griyanda Azhar Yustiani 3411201004
1.
Pendahuluan
4
->(s);
->(w);
n <- check(s,w)
->(kalimat);
for(i<=strlen(kalimat)do
i<-i+1:
if(kalimat[i] = 32)then
jumkata<- jumkata + 1;
end if
end for output ("jumlah KATA sebanyak = ", jumkata+1); //menghasilkan jumlah kalimat
VOCAL 8
(text);
if(text[i]=='a'||text[i]=='A'||text[i]=='i'||text[i]=='I'||text[i]=='u'||text[i]=='U'||text[i]=='e'||
text[i]=='E'||text[i]=='o'||text[i]=='O')then
end if
9
end for
(huruf, sizeof(huruf),stdin);
while(huruf[jumlah] ≠ 0)do
end while
(huruf, sizeof(huruf),stdin);
while(huruf[jumlah] ≠ 0)do
end while
for(i<jumlah)do
i<-i + 1
huruf[jumlahstring]
jumlahstring<- jumlahstring - 1
end for
hasil[i] ≠ 0
13
(str,sizeof str,stdin)
while (str[ctr1]) do
if (ispunct(str[ctr1]) then
end if
end
16
Thanks!