(flowchart dgn raptor) |
Outputnya,,,,
(output dgn raptor) |
Kalo pake dev c++,,,
void Bagi::iteratifs(){
a =1;
while (!(a>100)){
if (a % 5==0 && a % 7==0){
cout << a << endl;
}else{}
a =a+1;
}
}
a =1;
while (!(a>100)){
if (a % 5==0 && a % 7==0){
cout << a << endl;
}else{}
a =a+1;
}
}
Output.nya,,,,
(output dgn dev c++) |
Tidak ada komentar:
Posting Komentar