Thursday, July 14, 2016

Well now I will tell u the way how to create a data c ++ is an index !!!!
ok we live can make learning cauuuuuuu also thanks !!!!

#include <iostream>
#include <conio.h>

using namespace std;

int main ()
{
    jml1 float, jml2, jml3, jml4, end, UTS, UAS, assignments, quizzes;
    cout << "unikdata44.blogspot.com" << endl;
    cout << "Do not forget to end with a semicolon" << endl;
    cout << "Enter the value of UTS:";
    cin >> uts;
    cout << "Enter the value of UAS";
    cin >> lever;
    cout << "Enter the value TASKS";
    cin >> task;
    cout << "Enter the value QUIZ:";
    cin >> quiz;
    cout << endl;
    jml1 = uts * 35/100;
    jml2 = UAS * 35/100;
    jml3 = task * 10/100;
    jml4 = quiz * 20/100;
    cout << "UTS (35%):" << endl << jml1;
    cout << "UAS (35%):" << endl << jml2;
    cout << "DUTY (10%):" << endl << jml3;
    cout << "QUIZ (20%):" << endl << jml4;
    end = jml1 + jml2 + jml3 + jml4;
    cout << "The final value is" jml1 << << "" << jml2 << "" << jml3 << "" << jml4 << "" << endl << end;
    cout << "Value index you are";
    if (end> = 85 && end <= 100) {
        cout << "A" << endl;
    } Else if (end> = 70 && end <85) {
        cout << "B" << endl;
    } Else if (end> = 50 && end <70) {
        cout << "C" << endl;
    } Else if (end> = 40 && end <50) {
        cout << "D" << endl;
    } Else {
        cout << "E" << endl;
    }
    getch ();
    return 0;
}

Ok do to make sure you like this blog also really useful if further waiting bye ^^
Good night


Leave a Reply

Subscribe to Posts | Subscribe to Comments

- Copyright © NonameBLOG - Blogger Templates - Powered by Blogger - Designed by Johanes Djogan -