PROGRAM BilanganKuadrat
DEKLARASI
i: integer
ALGORITMA
for (i=1; i<=10; i++) do
write (i*i)
endfor
CODING
#include<iostream>
using namespace std;
int main() {
int i;
for (i=1; i<=10; i++)
cout<<i*i<<endl;
system("PAUSE");
}
KELUARAN
Download program disini https://drive.google.com/file/d/1WaEqGTY36bS9VDWGyrwWIq6tm-ckl2y8/view?usp=sharing
No comments:
Post a Comment