this is my code c programming;
Code:#include<stdio.h> #include<stdlib.h> int cubebyvalue(int); int main(){ int a; char num[10]={'0','1','2','3','4','5','6','7','8','9'}; //char *ptr; char ch[14]; for(int i=0; i<10; i++){ for(int i=0; i<14; i++) { ch[i] = num[rand()%9]; } for (int i=0; i<14; i++){ printf("%c", ch[i]); } printf("\n\n"); } return 0; }