Welcome to Code Forum!

Join a community that supports you and your coding journey from day one. We strive to be a friendly, supportive community that empowers everyone to be better developers. By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

logic

  1. A

    Explanation for below query

    I have this code from a project and I am not sure why J is set to n-2 in for loop for Checks forward Please help #include <stdio.h> #include <math.h> int main() { int test; printf("Enter the number of tests: "); scanf("%d", &test); for (int a=0; a < test; a++) { int...
Back
Top Bottom