N
Nikhil Joshi
guys help me in making thi program?
Nikhil Joshi said:guys help me in making thi program?
guys help me in making thi program?
Nikhil Joshi said:guys help me in making thi program?
main()
{
int i,j;
for(i=0;i<5;i++)
{
for(j=i;j<5;j++)
{
printf("*");
printf("\n");
}
}
getch();
}
this is basic structure printing star..but dont know how make a program for star?
Nikhil Joshi said:main()
{
int i,j;
for(i=0;i<5;i++)
{
for(j=i;j<5;j++)
{
printf("*");
printf("\n");
}
}
getch();
}
this is basic structure printing star..but dont know how make a program for star?
pete said:/* BEGIN new.c */
#include <stdio.h>
int
main(void)
{
puts(" * ");
puts(" ");
puts(" ");
puts(" ");
puts("* * * *");
puts(" ");
puts(" ");
puts(" ");
puts(" * * ");
puts(" ");
puts(" ");
puts(" * ");
puts(" ");
puts(" ");
puts(" * * ");
return 0;
}
/* END new.c */
guys help me in making thi program?
[snip]And now,
because it's almost the same program,
something that resembles a Koch snowflake:
/* BEGIN snowflake.c output */
guys help me in making thi program?
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.