+ 1
Pattern in c++
#include<iostream.h> #include<conio.h> Void main() { int i;j; for(i=1;i<=5;i++){ for(j=1;j<=i;j++){ Cout<<"*"; } Cout<<"\n"; } getch(); }
4 odpowiedzi
+ 18
There are many errors....
like .h in header file...
semi-colon between i & j
return type of main should be int..
small c in cout
std::cout
check out the correct one 👇
https://code.sololearn.com/cDAK4Z6izc3G/?ref=app
+ 2
whats problem
0
Please tell me about
0
Problem is a no output