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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!