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,

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

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!