🔒 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
  • 819
    Views
  • 3
    Participants
Last reply from:
Mark

Trending Topics

Online now

Members online
619
Guests online
1,201
Total visitors
1,820

Forum statistics

Threads
2,284,890
Posts
29,026,464
Members
1,220,205
Latest member
daltonparrott75
Back
Top