5
Contributors
9
Replies
37
Views
3 Years
Discussion Span
Last Post by deceptikon
-1

You probably shoud have started earlier than now. What have you accomplished so far? Which one do you need help with?

1

We require proof of effort when helping with homework assignments. Further, don't expect anyone to do the work for you. If you do, you're not going to meet your deadline.

-3

no I just have a final exam and I dont have a time .. so plz helllp me :((

0

Maybe you should have thought about it earlier. As stated, no one is going to do your homework for you. At least show us what you have done so far and don't press anyone for answers.

0

You're right, but I need to help .. It's all topic I have a final exam tomorrow morning

0

Ok i dont know what language you use but here's how i did it on delphi

The first one

procedure TForm1.Button1Click(Sender: TObject);
var
INum : integer ;
I : Integer ;
sStars : STRING ;
begin
RichEdit1.Lines.Clear ;
INum := strtoint(inputbox('Number','Enter your value','')) ;
sStars := '' ;
for i := 1 to iNum do
  begin
    RichEdit1.Lines.Add(sStars + '*') ;
    sstars := sstars + '*' ;
  end;
end;

I did another one :

procedure TForm1.Button2Click(Sender: TObject);
var
Inum : integer ;
I : integer ;
sstars : string ;
l : integer ;
  k: Integer;
begin
RichEdit1.Lines.Clear ;
INum := strtoint(inputbox('Number','Enter your value','')) ;
sStars := '' ;
for k := 1 to iNum do
  begin
    sstars := sstars + '*' ;
  end;
for I := 1 to iNum do
  begin
    RichEdit1.Lines.Add(sstars) ;
  end;
end;

And heres the last one

procedure TForm1.Button3Click(Sender: TObject);
var
iNum : integer ;
I : integer ;
sstars : string ;
k : integer ;
begin
RichEdit1.Lines.Clear ;
INum := strtoint(inputbox('Number','Enter your value','')) ;
sStars := '' ;
for k := iNum downto 1 do
   begin
     for I := 1 to k do
       begin
         sstars := sstars + '*' ;
       end;
     RichEdit1.Lines.Add(sstars) ;
     sstars := '' ;
   end;
end;

Hope it helped!

0

no I just have a final exam and I dont have a time .. so plz helllp me :((

You can downvote as much as you want, but it doesn't change either our rules or the feelings of the community about cheaters.

Hopefully a failing grade will teach you that you can't rely on chumps to bail you out.

p.s. Thread closed as a violation of the homework rule. I don't anticipate you suddenly having a change of heart, and so I'll snub a hissy fit before it starts.

Edited by deceptikon

Votes + Comments
Wish some people would friggin' read...