Help
The Question is : Write a c program that input 10 students Marks(Names and Scores) as below , and print two table for the successful and fail students. And I’m writing this code: #include <stdio.h> int main(int argc, const char * argv []){ // insert code here... char StudentName[10][100]; int Mark[10]; printf("Enter the name with mark :"); for(int i=0 ; i<10; i++){ scanf("%s",&StudentName[i]); scanf("%d", &Mark[i]); } printf("---------------------------\n"); printf("No.\tName\t\tMark\n"); printf("---------------------------\n"); for(int i=0; i<10; i++){ printf("%d\t%s\t\t%d\n",i+1,StudentName[i], Mark[i]); printf("-------------------------------\n"); } The problem is I don’t know how can I create two tables one for successful and other for fail students , can you help me please?