← Back to Analisis Kode
Prev

Question 17 — Loop Bersyarat

Analisis Kode · 20 points · Answer key: 201

Next

Question

#include <iostream>
using namespace std;
int main() {
    int x = 0, y = 0;
    while (x * 7 < 986 && y * 4 <= 876 && x - y > -67) {
        x += 2; y += 3;
    }
    cout << y << endl;
    return 0;
}

Jawab: …………………………………………………… {tuliskan output program}

Answers (7 members)

MemberAnswer
Yazid201
Habibie201
Kian201
Algazel201
Athar201
Athmar202
Priscilla-