X694: Simple C++ Primitives

Replace the /*date type*/ comments with the appropriate data types for each variable.

Your Answer:

x
 
1
int primitives()
2
{
3
    /* data type */ luckyNumber = 16;
4
    /* data type */ percentage = 0.95;
5
    /* data type */ letter = 'B';
6
    /* data type */ truth = false;
7
8
    return 0;
9
}
10

Feedback

Your feedback will appear here when you check your answer.