Question
(Counting Negative, Positive and Zero Values) Please show your work This is another Console Application based on Deitel textbook #3.30 Prompt a user to enter
(Counting Negative, Positive and Zero Values)
Please show your work
This is another Console Application based on Deitel textbook #3.30 Prompt a user to enter a number 5 times ("Enter the first number", "Enter the second number"...). After that, display the tally. Name your class Tally. Remember in console applications always use Console.ReadLine(); at the very end of the Main method. // prompt for input and read first number Console.Write( "Enter first integer: " ); inputNumber = Convert.ToInt32(Console.ReadLine()); Output example: Zeros: 1 Positives: 3 Negatives: 1
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started