Computer Science, asked by probot02, 3 months ago

is the program correct
#include <stdio.h>
void main()
{
struct book
{
char name;
float price;
int pages;
};
struct book b[100];
int i;

for (i=0;i<= 99;i++)
{
printf ("\nEnter name, price and pages ");
scanf("%c %f %d", &b[i].name, &b[i].price, &b[i].pages);
}
} ​

Answers

Answered by mahiiinn
0

Explanation:

yaah...its absolutely correct....

Similar questions