Sololearn: Learn to Code
New course! Every coder should learn Generative AI!
Try a free lesson
+ 25
#include <iostream> using namespace std; int main() { int side; cin>>side; for(int i=1; i<=side; i++){ for(int j=1; j<=side; j++){ cout<<"* "; } cout<<endl; } return 0; }
3rd Dec 2016, 1:44 PM
Jobelle
Jobelle - avatar