If jack lies on Mon, Tue Wed and jill lies on Thursday,
Friday and Saturday. If both together tell they lied
yesterday. So c the given options and then c cos in the
given dates one will be saying the truth and one will be
lying. I got Thursday as option because jack is saying the
truth he lied yest but jill is lying again as he lies on
that day.
Answer / Renu Kohli
Answer: To solve this problem, let's consider the days of the week: Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, and Sunday.nnIf Jack lies on Monday, Tuesday, and Wednesday, then he is telling the truth if today is Thursday, Friday, or Saturday. In this case, both Jack and Jill would be lying if they said they lied yesterday (Wednesday). However, since Jill also claims to lie on Thursday, she is actually telling the truth.nnTherefore, the correct answer is Thursday.
| Is This Answer Correct ? | 0 Yes | 0 No |
main() { unsigned int k = 987 , i = 0; char trans[10]; do { trans[i++] =(char) (k%16 > 9 ? k%16 - 10 + 'a' : '\0' ); } while(k /= 16); printf("%s\n", trans); }
Is fortran still used today?
Find the O/p of the following 1) #include int main() { char c='1'; int j=atoi(c); }
What are linked lists in c?
advantages of pointers?
State the difference between realloc and free.
Why do we use int main?
How is null defined in c?
Write programs for String Reversal & Palindrome check
what is a stack
Write the program with at least two functions to solve the following problem. The members of the board of a small university are considering voting for a pay increase for their 10 faculty members. They are considering a pay increase of 8%. Write a program that will prompt for and accept the current salary for each of the faculty members, then calculate and display their individual pay increases. At the end of the program, print the total faculty payroll before and after the pay increase, and the total pay increase involved.
What is methods in c?