- Joined
- Oct 7, 2022
- Messages
- 1
- Reaction score
- 0
the teacher gives the task of making branching code, is this coding pseudocode or not?
Code:
#include<iostream>
using namespace std;
int main(){
int jumlah;
cout<<"jumlah buku yang anda pinjam = ";
cin>>jumlah;
if(jumlah< 2){
cout << " buku telah berhasil dipinjam " <<endl;
}else {
jumlah;
cout << "tidak dapat meminjam lebih dari 2 buku " <<endl;
}
}