Advertisement
fiqriachmada

Soal Koko Pratikum IV

Jan 2nd, 2019
138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.34 KB | None | 0 0
  1. #include "header.h"
  2.  
  3. main(){
  4.     char kalimat[100];
  5.     cout<<"Kalimat : ";
  6.     cin.getline(kalimat, 100);
  7.     int a=0,i=0,u=0,e=0,o=0;
  8.     cek(kalimat, 0, a, i, u, e, o);
  9.     cout<<"Total A : "<<a<<endl;
  10.     cout<<"Total I : "<<i<<endl;
  11.     cout<<"Total U : "<<u<<endl;
  12.     cout<<"Total E : "<<e<<endl;
  13.     cout<<"Total O : "<<o<<endl;
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement