🔒 Closed help po plss deadline na sa miyerkules may libreng load po sa mkasasagot

Status
Not open for further replies.

Disguise

Honorary Poster
Create a program that accepts any number.create a triangle whose height is as tall as the inputted number. sample output: enter number: 3 *** ** *
 
same question lang to kanina ah. gawa ka ng for loop at yung end nya eh yung na input ng user . anong language ba?
 
input = number

print mo po ang input sa loop,
at kada iteration dapat + 1 at New Line

ex.
input = 5
for i in input:{
print(i+1);
}
 
Status
Not open for further replies.

About this Thread

  • 3
    Replies
  • 829
    Views
  • 3
    Participants
Last reply from:
Mark

Trending Topics

Online now

Members online
1,114
Guests online
2,169
Total visitors
3,283

Forum statistics

Threads
2,315,810
Posts
29,184,130
Members
1,182,712
Latest member
ggrald7
Back
Top