Jumat, 02 September 2016

Program Penentu Lebar Field


#include <stdio.h>
#include <conio.h>

main()
{
printf("\n| %-10s | %-20s | %7s |\n", "NIM","Nama Mahasiswa","Nilai");
printf("| %-10s | %-20s | %7.1f |\n", "14.11.1234","Joko",90.5);
printf("| %-10s | %-20s | %7.1f |\n", "14.11.1235","Susi",85.5);
getch();
}


Output :


0 komentar:

Posting Komentar