Write a pseudo code in which you ask the user to will enter a number and then enter 5 more numbers using the while statement to do this and in the end your program will show how much number were divisor by the number you enter at start. Also the program should terminate if the users enters a negative value at any stage.

Microsoft Visual C#
7th Edition
ISBN:9781337102100
Author:Joyce, Farrell.
Publisher:Joyce, Farrell.
Chapter4: Making Decisions
Section: Chapter Questions
Problem 5E: a. Write a program named CheckMonth that prompts a user to enter a birth month. If the value entered...
icon
Related questions
Question

Write a pseudo code in which you ask the user to will enter a number and then enter 5 more numbers using the while statement to do this and in the end your program will show how much number were divisor by the number you enter at start. Also the program should terminate if the users enters a negative value at any stage.

Enter a Number: 2
Enter 1 Number: 4
Enter 2 Number: 5
Enter 3 Number: 6
Enter 4 Number: 7
Enter 5 Number: 8
Total divisor are: 3
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Mathematical functions
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
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning