#include <stdio.h>

int main (void)
{
//  Local Declarations
    int num1, num2, num3, num4, num5, num6, num7, num8, num9, num10;
    
//  Statements
    printf("Enter your 10 numbers:\n");
    scanf("%d %d %d %d %d %d %d %d %d %d", &num1, &num2, &num3, &num4, &num5, &num6, &num7, &num8, &num9, &num10);
    
//  This will show your numbers in arranged form
    printf("Here are your numbers in arranged form:\n");
    
    printf("%d %d\n", num1, num10);
    printf("%d %d\n", num2, num9);
    printf("%d %d\n", num3, num8);
    printf("%d %d\n", num4, num7);
    printf("%d %d\n", num5, num6);
 
    system("pause");
    return 0;
}// main
2
Contributors
1
Reply
2
Views
7 Years
Discussion Span
Last Post by ravishkkumar
0

who Mr. X has uploaded it ..
please tell me the significance of this code ......
what a great thing in this code....?????????????
i will reply again after your(Mr. X) comment !!!!!!!!!!!!:)

Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.