Please Help Me with C program: How to print this output -
Our teacher will take a test after 2 days and I have a problem in C language. Please help me regarding this program.
I want to print this output
*
* * *
* * * * *
please help me any c language expert if anybody solve it then give answer here.
๐๐๐๐๐๐๐๐๐๐
I want to print this output
*
* * *
* * * * *
please help me any c language expert if anybody solve it then give answer here.
๐๐๐๐๐๐๐๐๐๐
Replies
-
gaurav.bhorkarRe: Please Help Me...
Hi Wetpaint,
This is a pretty simple problem. Try your hand at it and post the code here.
The CEans are here to help you. -
Manish Goyalhere is the code ...but in c++...
#include
int main()
{
for(int i=1;i<=3;i++)
{
for(int j=1;j<=(5*i)/3;j++)
{
cout<<"*";
}
cout<}
} -
wetpaintRe: Please Help Me...
But if its a simple problem then solve it plz.gaurav.bhorkarHi Wetpaint,
This is a pretty simple problem. Try your hand at it and post the code here.
The CEans are here to help you.
and in the last line how can I write it in c because I don,t know C++
plz dear convert this program in C language. ๐๐๐ -
dipen30here it is in C
#include
int main()
{
int i,j;
for(i=1;i<=3;i++)
{
for(j=1;j<=(5*i)/3;j++)
{
printf("*");
}
printf("\n");;
}
}
You are reading an archived discussion.
Related Posts
i want to get a topic regarding my major project, i am concentrating my project on cnc programming and its related areas
Oki so I know that this is out of point slightly but I thought I'd give it a go you guys being marine engineers, I was wondering if you know...
your mathematics marks do not matter here just blindly do this calculation
1) 4*your birth date
2) +13
3) *25
4) -200
5) +the month you were born
6) *2...
You are going to love this free service -> Free Online OCR service - convert PDF documents to Word, JPG to Word
OnlineOCR lets you recognize text from -Adobe PDF,...
No spamming. Just post the photos of your dream car. Also tell us in just 1 sentence why its your dream car.
Note: In order to post the photo of...