SOURCE CODE Program Menghitung IPK Mahasiswa C++

kali ini kita akan membahas tentang bagaimana melakukan kondisi dari hasil hitung tersebut dan memahami tentang structur. Contoh kali ini kita akan mempelajari Source Code Program Menghitung IPK Mahasiswa C++

Assalamualaikum WR. WB.
Berbeda dari kemarin, pada posting Program Penghitung Nilai Akhir C++ Kita mendalami bagaimana penerapan perhitungan pada program yang masih bersifat hitung saja. kali ini kita akan membahas tentang bagaimana melakukan kondisi dari hasil hitung tersebut dan memahami tentang structur. Contoh kali ini kita akan mempelajari Source Code Program Menghitung IPK Mahasiswa C++. Oke langsung kita bahas.

Program Menghitung IPK Mahasiswa C++
Interface
SOURCE CODE Program Menghitung IPK Mahasiswa C++

Source Code
#include <iostream.h>
#include <string.h>
#include <conio.h>
#include <stdio.h>
#include <iomanip.h>

struct hasil
            {
         char nama[20],nim[9],kelas[25];
         float tugas,mid,uas,nilai,ipk;
          } ;

int main()
{
hasil mhs ; // pendefinisian var struktur
awal:
cout<<"\t\t\t_____________________________\n";
cout<<"\t\t\tNama    : MOHAMMAD SYAIFULLAH\n";
cout<<"\t\t\tNIM    : 121411091\n";
cout<<"\t\t\tJurusan    : Teknik lnformatika \n";
cout<<"\t\t\tProgram    : Penghitung IPK \n";
cout<<"\t\t\t=============================\n";
cout<<endl;
cout<<" Masukkan Nama Anda     = ";
gets(mhs.nama);
cout<<" Masukkan NIM Anda      = ";
gets(mhs.nim);
cout<<" Masukkan Kelas Anda    = ";
gets(mhs.kelas);

//penginputan nilai awal
cout<<"\n Masukkan Nilai Tugas   = ";
cin>>mhs.tugas;

cout<<" Masukkan Nilai UTS     = ";
cin>>mhs.mid;

cout<<" Masukkan Nilai UAS     = ";
cin>>mhs.uas;
cout<<endl;
mhs.nilai=(mhs.tugas*0.3)+(mhs.mid*0.4)+(mhs.uas*0.3);
cout<<"===============================";
cout<<"\n Total Nilai Anda       = "<<setiosflags(ios::fixed)<<setprecision(2)<<mhs.nilai;

cout<<"\n\n Nilai Huruf Anda : ";

if (mhs.nilai>75 && mhs.nilai<=100)
cout<<"A";
else if (mhs.nilai>65 && mhs.nilai<=75)
cout<<"B";
else if (mhs.nilai>55 && mhs.nilai<=65)
cout<<"C";
else if (mhs.nilai>45 && mhs.nilai<=55)
cout<<"D";
else if (mhs.nilai>0 && mhs.nilai<=45)
cout<<"E";

cout<<"\n\n Nilai Grade Anda : ";

if (mhs.nilai>75 && mhs.nilai<100)
cout<<"4";
else if (mhs.nilai>65 && mhs.nilai<=75)
cout<<"3";
else if (mhs.nilai>55 && mhs.nilai<=65)
cout<<"2";
else if (mhs.nilai>45 && mhs.nilai<=55)
cout<<"1";
else if (mhs.nilai>0 && mhs.nilai<=45)
cout<<"0";

mhs.ipk=mhs.nilai/24;
cout<<endl;
cout<<"\n IPK Anda = "<<setiosflags(ios::fixed)<<setprecision(2)<<mhs.ipk;
    balik:
   cout<<"\n\n Apakah Anda Ingin Mengulang [Y/N] ? "  ;
char m ;
cin>>m;
if (m == 'y' || m== 'Y')
 {
 clrscr();
 goto awal;
 }
else if (m == 'n' || m== 'N')
{
 goto akhir;
}
 else
{
 cout<<"Maaf Keyword Salah "<<endl;
 goto balik;
}
akhir:
cout<<"\n\n\t\t\t    \"TERMA KASIH\"";
getch();
    }


Mungkin itu saja yang bisa admin bagikan kepada Anda. admin berharap artikel ini sangat bermanfaat bagi Anda. Admin akan sangat bertrimakasih bila anda mau meluangkan waktu untuk memberikan KOMENTAR dan SHARE artikel ini, karena kontribusi anda sangat berharga bagi Admin. 

source code leap year program c c program with source code source code for c programming with problem solving source code c washing machine source code c virus source code virus program c distance vector program source code c source code binary search tree program c source code c sharp source code c sharp projects source code c snake source code c sample source code binary search tree program c source code c standard library source code c shell c program source code for quiz source code c projects source code c pic source code c perkalian matriks source code program perpustakaan bahasa c source code c programming projects source code c project source code paint program c source code c programing source code of c program source code of client server program in c source code c matriks source code c microcontroller c program source code for matrix multiplication source code c language source code c language projects source code c linux source code c programming language source code c library source code c language project source code leap year program c source code program in c source code c image processing source code of client server program in c source code c hello world source code c hotel management system source code c programming games source code c games source code c game source code c graphics c program source code games source code c graphic program c program game source code source code c for image processing source code c fft source code for c program c program source code for games source code c examples source code c example c program example source code c programs source code c program source code examples source code c download source code c des c program source code download source code calculator c source code c compiler source code c c source code cryptography c source code of client server program in c source code calendar c source code converter c to java source code cat.c source code crc32 c source code program bahasa c contoh source code program bahasa c source code program perpustakaan bahasa c source code binary search tree program c source code of a c program source code c avr atm c program source code
 

COMMENTS

Nama

AJAX Android APLIKASI APLIKASI PROGRAMMING BASIC Bootstrap C Plus Plus Cisco Packet Tracer Codeigniter CRUD CSS Framework HTML Instaling Jaringan Komputer Java Java Script JavaScript JQUERY Pengetahuan PHP Programming Review Sekolah SOURCODE Teknologi TipsTrick Tutorial Video Yii
false
ltr
item
HI-CODDING: SOURCE CODE Program Menghitung IPK Mahasiswa C++
SOURCE CODE Program Menghitung IPK Mahasiswa C++
kali ini kita akan membahas tentang bagaimana melakukan kondisi dari hasil hitung tersebut dan memahami tentang structur. Contoh kali ini kita akan mempelajari Source Code Program Menghitung IPK Mahasiswa C++
http://3.bp.blogspot.com/-c2mO8kcvitI/Vq6W7L0K-gI/AAAAAAAAAaU/tRw8xllgDO4/s640/Screenshot_21.png
http://3.bp.blogspot.com/-c2mO8kcvitI/Vq6W7L0K-gI/AAAAAAAAAaU/tRw8xllgDO4/s72-c/Screenshot_21.png
HI-CODDING
http://www.hi-codding.net/2016/01/source-code-program-menghitung-ipk-mahasiswa-c.html
http://www.hi-codding.net/
http://www.hi-codding.net/
http://www.hi-codding.net/2016/01/source-code-program-menghitung-ipk-mahasiswa-c.html
true
5256670903611799845
UTF-8
Not found any posts VIEW ALL Readmore Reply Cancel reply Delete By Home PAGES POSTS View All RECOMMENDED FOR YOU LABEL ARCHIVE SEARCH ALL POSTS Not found any post match with your request Back Home Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago Followers Follow THIS CONTENT IS PREMIUM Please share to unlock Copy All Code Select All Code All codes were copied to your clipboard Can not copy the codes / texts, please press [CTRL]+[C] (or CMD+C with Mac) to copy