#include
#include
#include
garis()
{
cout<<"---------------------------";
cout<
char ket(float nil)
{
if(nil>=60)
return 'L';
else
return 'G';
}
main()
{
int no;
struct
{
char nim[5];
char nama[15];
float nilai;
} mhs[5];
for(no=1; no<3 br="" no="">{
cout<<"Data Ke - "<
cout<<"Masukan NAMA = ";gets(mhs[no].nama);
cout<<"Masukan NILAI= ";cin>>mhs[no].nilai;
cout<
clrscr();
for(no=1; no<3 br="" no=""> {
cout<<"Data Ke - "<
cout<<"NIM = "<
cout<
getch();
}
Monday, January 21, 2019
√ Aktivitas Stucture Pada Array Pemrograman C++
Penulis hiyahiya
Diterbitkan January 21, 2019