#include <iostream>
using namespace std;
int main() {
int Absen, Tugas, UTS, UAS;
float Nilai_Absen = 100;
Nilai_Absen = 100*10/100;
float Nilai_Tugas = 80;
Nilai_Tugas = 80*20/100;
float Nilai_UTS = 90;
Nilai_UTS = 90*30/100;
float Nilai_UAS = 60;
Nilai_UAS = 60*40/100;
float Total;
Total = Nilai_Absen + Nilai_Tugas + Nilai_UTS + Nilai_UAS;
cout<<"----------------------------------------------"<<endl;
puts("Program Menghitung Nilai Akhir");
cout<<"----------------------------------------------"<<endl;
printf("Masukan Nilai Absen (10%) : \n"); scanf("%d",&Absen);
printf("Masukan Nilai Tugas (20%) : \n"); scanf("%d",&Tugas);
printf("Masukan Nilai UTS (10%) : \n"); scanf("%d",&UTS);
printf("Masukan Nilai UAS (10%) : \n"); scanf("%d",&UAS);
cout<<"----------------------------------------------"<<endl;
printf("Nilai Total Adalah : %.2f \n", Total);
cout<<"----------------------------------------------"<<endl;
cout<<"Nama: Kesa Kamila"<<endl;
cout<<"NIM : 1620230003"<<endl;
return 0;
}