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.
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.
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;
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.
APLX is a very complete implementation of the APL programming language from MicroAPL. The company stopped producing it in 2016 and it has been taken over by Dyalog. While Dyalog ...