all about me: CODING C
...SELAMAT DATANG ...TERIMA KASIH ...TELAH BERKUNJUNG
RSS

CODING C


SOURCE CODE PROGRAM 1
# include
Main()
{
Printf(“\n nama saya : rachmat”);
Printf(“\n kelas saya : 2 ka 19”);
Printf(“\n npm saya : 11108545”);
}



SOURCE CODE PROGRAM 2
#include
Char nama[30], kelas[20];
Int npm;
Main()
{
Printf(“\n nama saya :”);
Scanf(“%s[^\n]”, &nama);
Printf(“\n kelas saya :”);
Scanf(“%s[^\n]”, &kelas);
Printf(“\n npm saya :”);
Scanf(“%d”, &npm);
Printf(“\n nama saya : %s, &nama );
Printf(“\n kelas saya : &s, &kelas );
Printf(“\n npm saya : %d, &npm);
}

SHARE FOR LIFE.......

0 comments:

Post a Comment