you are really confusing me
Type: Posts; User: umair_crash
you are really confusing me
1. It is indented except for main()
2. include the stdio.h and stdlib.h
3.HUH??
4.we learnt that the centre of the screen is at x=40, and 1 position is removed for every star. That is 2 for every...
Here is my version.
main(){
int stars, rows, space;
for(rows=1; rows<=10; rows++){
for(space=40; space>0; space-=2)
printf("\xFF");
for(stars=1; stars<=rows; stars+=2)
printf("*");...
A nested loop as specified.
the outer manages the space between column one and the asterixs and the inner manages the stars.
I get
*
***
I know this kind of seems easy at first, but the answer is simply avoiding me.
I ave to make a DOS based console application that gives the following output, centre of screen.
PLEASE HELP!!...