Search:

Type: Posts; User: everyone0

1. Thread: help with loop to print an equliateral asterisk triangle

by everyone0
Replies
13
Views
18,639

Re: help with loop to print an equliateral asterisk triangle

thank you very much :)
2. Thread: help with loop to print an equliateral asterisk triangle

by everyone0
Replies
13
Views
18,639

Re: help with loop to print an equliateral asterisk triangle

well i changed the space equation so it becomes like this : space=row
3. Thread: help with loop to print an equliateral asterisk triangle

by everyone0
Replies
13
Views
18,639

Re: help with loop to print an equliateral asterisk triangle

my guess is that it will be like this : space=6-6+row , stars = -2*row+11
so what is the correct answer :D ?
4. Thread: help with loop to print an equliateral asterisk triangle

by everyone0
Replies
13
Views
18,639

Re: help with loop to print an equliateral asterisk triangle

nvm already done it :D , the equation of space = N-5+row and equation for stars = -2*row+9
5. Thread: help with loop to print an equliateral asterisk triangle

by everyone0
Replies
13
Views
18,639

Re: help with loop to print an equliateral asterisk triangle

hi helloworld922 :D , how have u been? , i have one more question what about the same triangle but inverted ?!
6. Thread: help with loop to print an equliateral asterisk triangle

by everyone0
Replies
13
Views
18,639

Re: help with loop to print an equliateral asterisk triangle

thanks for the help , im done :D and i cant start java without finishing c im almost done :D only need to learn functions.
7. Thread: help with loop to print an equliateral asterisk triangle

by everyone0
Replies
13
Views
18,639

Re: help with loop to print an equliateral asterisk triangle

comeone :D im sure u know the answer tell me plz , and i promise i will learn java after i finish c learning :)
8. Thread: help with loop to print an equliateral asterisk triangle

by everyone0
Replies
13
Views
18,639

help with loop to print an equliateral asterisk triangle

here is my work so far :

# include <stdio.h>
main()
{
int N,row, column;
printf(“Enter the triangle-drawing value n:”);
scanf(“%d”,&N);
for (row=1; row<=N, row++)
{
Results 1 to 8 of 8