I have this problem below and in it, it mentions \"seven boolvalues.\" Does this
ID: 3614682 • Letter: I
Question
I have this problem below and in it, it mentions "seven boolvalues." Does this mean that I have to include this in theprogram:<include <stdbool.h>
or do I just put in any seven digits? I just do not understand whatit means by "seven bool values."
Heres the question below::
________________________________________________________________________________
Q: Write a declaration of an array named weekend containingseven bool values. Include an initializer that makes thefirst and last values true; all other values false?
Explanation / Answer
please rate - thanks yes you do need the header #include the declaration would be bool values[7]={true,false,false,false,false,false,true};Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.