Write C variable declarations to create one int variable cal

Write C++ variable declarations to create one int variable called number, two real variables called signal and pi where pi is initialized to 3 .14159, and two bool variables called flag and bit where flag is initialized to false. No main () program is necessary and comments are optional. Be sure to strike the Enter key before you click on the Save button.

Solution

int number;

double signal;

double pi=3.14159;//initialized

bool flag=false;//initialized

bool bit;

 Write C++ variable declarations to create one int variable called number, two real variables called signal and pi where pi is initialized to 3 .14159, and two

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site