Professional Documents
Culture Documents
Algoritma & Pemograman Latihhan 1 & 2
Algoritma & Pemograman Latihhan 1 & 2
main (){
int batu=3;
cout<<"massa"<<batu;
#include <iostream>
main (){
cout<<" ** * ** * ** ** ** "<<endl;
cout<<" ** * ** * ** ** ** "<<endl;
cout<<" ** * ** * ** ** ** "<<endl;
cout<<" ** * ** * * * * * * * ** * * * * ** * * * * ** "<<endl;
cout<<" ** * * * * ** * ** ** ** "<<endl;
cout<<" ** * ** * ** ** ** "<<endl;
cout<<" ** * ** * ** ** ** "<<endl;
cout<<" ** * ** * ** ** ** "<<endl;
}
#include <iostream>
main (){
C=A+B;
cout<<"nilai C : "<<C;