Answer:
convergent thinking is to divergent thinking.
Explanation:
It's saving a float value in your variable "height".
for example:
float height = 0.0;
printf("Insert your height: ");
scanf("%f", &height);
Answer:1. is 2B
AND THE 2nd. Press enter key
Explanation: i saw it in the comments and it worked, this is more obvious to see
#include <iostream>
using namespace std;
class CarCounter {
public:
CarCounter();
CarCounter(const CarCounter& origCarCounter);
void SetCarCount(const int count) {
carCount = count;
}
int GetCarCount() const {
return carCount;
}
private:
int carCount;
};
CarCounter::CarCounter() {
carCount = 0;
return;
}
CarCounter::CarCounter(const CarCounter &p){
carCount = p.carCount;
}
void CountPrinter(CarCounter carCntr) {
cout << "Cars counted: " << carCntr.GetCarCount();
return;
}
int main() {
CarCounter parkingLot;
parkingLot.SetCarCount(5);
CountPrinter(parkingLot);
return 0;
}
Sample output:
Cars Counted: 5
Answer:
int x = 10;
Explanation:
This would work in many languages (C/C++/C#/Java).