Mobile List Generation & printing the list alphabetically
#include <stdio.h> #include <string.h> int main () { printf ( "Number of Mobile:" ); int n ; scanf ( "%d" ,& n ); printf ( " \n\n\n " ); int i , Phone_price [ 25 ]; char phone_name [ 25 ][ 25 ], temp [ 25 ], search [ 25 ]; for ( i = 0 ; i < n ; i ++) { printf ( "Name:" ); scanf ( "%s" , phone_name [ i ]); printf ( "Price :" ); scanf ( "%d" ,& Phone_price [ i ]); } int j , count ; for ( i = 0 ; i < n - 1 ; i ++) { ...