Q2] (6 Marks): Design a form and write code in VB program to enter the number consist of 3 digit (001 to 999) and print stars in same of summation of units number in rows form increased from 1. If the number out of range appear a message (wrong value, re-enter the number). For example entered the number (123) that means the summation of units number is (6); now you should print stars like: .. .....

C++ for Engineers and Scientists
4th Edition
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Bronson, Gary J.
Chapter7: Arrays
Section7.1: One-dimensional Arrays
Problem 10E: (Electrical eng.) Write a program that specifies three one-dimensional arrays named current,...
icon
Related questions
icon
Concept explainers
Question
Q2] (6 Marks): Design a form and write code in VB program to enter the number
consist of 3 digit (001 to 999) and print stars in same of summation of units
number in rows form increased from 1. If the number out of range appear a
message (wrong value, re-enter the number).
For example entered the number (123) that means the summation of units
number is (6); now you should print stars like:
.....
*****
Transcribed Image Text:Q2] (6 Marks): Design a form and write code in VB program to enter the number consist of 3 digit (001 to 999) and print stars in same of summation of units number in rows form increased from 1. If the number out of range appear a message (wrong value, re-enter the number). For example entered the number (123) that means the summation of units number is (6); now you should print stars like: ..... *****
Expert Solution
steps

Step by step

Solved in 4 steps with 3 images

Blurred answer
Knowledge Booster
Control Structure
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
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
Programming with Microsoft Visual Basic 2017
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning