Question: heres my code in C #include #include #include #include int main(void) { char title[50]; char col1[50]; char col2[50]; int point[50]; char names[50][50] = {'0'}; int
heres my code in C
#include
} }
printf("%33s ", title); printf("%20s | %23s ", col1, col2); printf("-------------------------------------------"); i = 0; while (i
printf(" %-20s |\t%20d ", names[i], point[i]); i++; }
return 0; }
I need the end of the code to look like this

![char title[50]; char col1[50]; char col2[50]; int point[50]; char names[50][50] = {'\0'};](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/09/66f2f5f93f908_71266f2f5f8d8ff9.jpg)
5) Output the information in a formatted table. The title is right justified with a width of 33. Column 1 has a width of 20. Column 2 has a width of 23. (3 pts) EX: Number of Novels Auth red Auth r name Number of novels Jane Austen Charles Dickens Ernest HemingwayI Jack Kerouac F. Scott Fitzgerald I Mary Shelley Charlotte Bronte I Mark Twain Agatha Christie Ian Flemming J.K. Rowling Stephen King Oscar Wilde 20 73 14 14 54 1 Jane Austen ** Charles Dickens Ernest Hemingway".. Jack Kerouac F. Scott Fitzgerald Mary Shelley Mark Twain Ian Flemming J.K. Rowling Stephen King Oscar Wilde
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
