Question: 2. (Increment and Decrement Operator) Write a C# program that accepts the values of two variables (the type int and named as v1 and v2)

 2. (Increment and Decrement Operator) Write a C# program that accepts

2. (Increment and Decrement Operator) Write a C# program that accepts the values of two variables (the type int and named as v1 and v2) from the user. The program will perform the following operations. v1++ ++V1 v1-v2++ v1 +v2 For each operation above, if the result is greater than or equal to 100, output the result. Otherwise, only output a message telling the user that the result is less than 100. (20 points)

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!