Monthly Archives: July 2011

C++ (Npm ganjil 1011095)

#include “stdio.h” #include “iostream.h” #include “String.h” double xnakhir(double nmid, double nsemester); char huruf(double nmid, double nsemester); char keterangan(double nmid, double nsemester); void main(){ char npm[7]; char nama[30]; double nmid, nsemester; cout<<”Program Untuk Menghitung Kelulusan Mahasiswa\n”; cout<<”____________________________________________\n”; cout<<”Nama            : … Continue reading

Posted in Uncategorized | Leave a comment

Bubble Sort

Npm : 1011095 Tipe 0 = {17, 11, 50, 30, 6, 5} i=0 j=5 -> T : 17, 11, 50, 30, 5, 6 j=4 -> T : 17, 11, 50, 5, 30, 6 j=3 -> T : 17, 11, 5, … Continue reading

Posted in Uncategorized | Leave a comment