Question: Question 1 2 pts Let's say we want two integer variables, one called totalCapacity and one called unitCapacity, each initialized to 100. Which of the

Question 1 2 pts Let's say we want two integer variables, one called totalCapacity and one called unitCapacity, each initialized to 100. Which of the following are valid ways to do this in C++? int totalCapacity = 100; // unitCapacity = 100; int int totalCapacity unitCapacity = 100; int totalCapacity = 100, unitCapacity = 100; int totalCapacity = 100; int unitCapacity = 100; int = totalCapacity = 100; int = unitCapacity = 100; Question 2 2 pts What will be the value of my Value after the below code runs? double myValue; myValue = 7/2
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
