Ask the user to input the height and b Enter height and base: 8 8 88 888 8888 88888 888888 8888888 88888888

COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
1st Edition
ISBN:9780357392676
Author:FREUND, Steven
Publisher:FREUND, Steven
Chapter11: User Interfaces, Visual Basic For Applications (vba), And Collaboration Features
Section: Chapter Questions
Problem 6EYK
icon
Related questions
Topic Video
Question

Please see attached picture for instruction and sample output. Use loop statement in creating a program :)
20 points each program.

NUMBER TRIANGLE PROGRAM
Ask the user to input the height and base of the right triangle.
Enter height and base: 8
8
88
888
8888
88888
888888
8888888
88888888
(valid inputs: 1-9 only, print “invalid input" if input is 10 and greater than)
(height and base must be the same to have a perfect figure)
Transcribed Image Text:NUMBER TRIANGLE PROGRAM Ask the user to input the height and base of the right triangle. Enter height and base: 8 8 88 888 8888 88888 888888 8888888 88888888 (valid inputs: 1-9 only, print “invalid input" if input is 10 and greater than) (height and base must be the same to have a perfect figure)
ASTERISK BOX PROGRAM
Ask the user to input the width and length
Enter width: 7
Enter height: 5
*
**
*
*
*
**
Tracing Answer #2
Transcribed Image Text:ASTERISK BOX PROGRAM Ask the user to input the width and length Enter width: 7 Enter height: 5 * ** * * * ** Tracing Answer #2
Expert Solution
steps

Step by step

Solved in 5 steps with 4 images

Blurred answer
Knowledge Booster
Instruction Format
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:
9780357392676
Author:
FREUND, Steven
Publisher:
CENGAGE L
Programming with Microsoft Visual Basic 2017
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning