Posts by Guilherme • 11 points
1 post
-
1
votes3
answers59
viewsQ: What am I doing wrong? (struct)
struct book{ char code[5]; char title[30]; char category[15]; char author[30]; float price; }; struct book book[100]; book[0].price = 1; You’re making a mistake on the last line…