Question: What will this code output? float A2 = 2.0, B2 = 3.0; A2 = A2 B2; cout < < A2 + 1.0; -1.0 0 2.0
What will this code output?
float A2 = 2.0, B2 = 3.0; A2 = A2 B2; cout << A2 + 1.0;
| -1.0 | ||
| 0 | ||
| 2.0 | ||
| 1.0 |
What variable type would be best for storing a person's gender?
| char | ||
| int | ||
| double | ||
| float |
Which computer technology is the oldest?
| integrated circuits | ||||||||||||||||||||||||||||||||||||||
| vacuum tubes | ||||||||||||||||||||||||||||||||||||||
| transistor | ||||||||||||||||||||||||||||||||||||||
| quantum computing
You need to have the user type in their age which will be stored in the variable Age. What command should you write?
What variable type would be best for storing a person's weight in pounds, keeping in mind to conserve memory?
What will this code output? short int Unicorn = 50; Unicorn = Unicorn 25; cout << Unicorn 1; cout << Unicorn + 1;
|
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
