Quick actions

cmd+k|ctrl+k

Navigation

Languages

Sabrina BP_tugas 1

Snippet info

Language

Cpp

Visibility

public

Author

sabrinabrahmantya

Created

2021-11-13T10:11:00.358344Z

Updated

2021-11-13T10:13:51.317062Z

#include <iostream>
using namespace std;

int main() {
    int x;
    cout << "Nilai : ";
    cin >> x;
    
    if (x>=70){
        cout<<"Lulus";
    } else if (x<70){
        cout<<"Gagal";
    }
}
INFO