#include<iostream.h>
typedef struct data {
char *nama;
float nilai;};
main()
{data d1;
d1.nama="Budi bermain bola";
d1.nilai=78.9;
cout<<d1.nama<<" banyaknya "<<d1.nilai+22.1;}
Home » C++ files » typedef.cpp
© 2010 unik dan menarik - All Rights Reserved
By Template Blogger - Converted by Belajar SEO Blogspot And Portal Berita
{ 0 komentar... Views All / Send Comment! }
Posting Komentar