No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
I got stuck :(. Can anyone tell me the **purpose** of this following code please? (Suggest descriptive names for the function and its parameters.) int mystery(int x, int y[], int z) { for (int i = 0; i < z; i++) { if (y[i] == x) return i; } return … | |
Hi, I'm writing a code to print weekday (ie: mon, tue, wed, thurs, fri, sat, sun) when user enter day/month/year. However, I do not know why this code doesn't work right. I didn't get any error. It actually works, but it just printed "Monday" for whatever date I putted in. … | |
Just a short question Can you help me please? thank you so much :) **What is printed by the following C++ code? cout << "'\\\"'";** | |
Can you please help me with this question. I do not understand. :( thank you so much. **If a, b, and c are integer variables, some of these expressions are valid C++ and others are not. For each expression, add parentheses to indicate the precedence and associative rules, and hence … |