c Structure for Book
#include<stdio.h>
struct Book
{
char name[50],
author[50];
int price; };
int main() {
struct Book b;
printf("\nEnter the details of the Book:\n");
gets(b.name);
gets(b.author);
scanf("%d",&b.price);
printf("\nThe details of the Book is as follows\n");
printf("\n %s \n %s \n %d", b.name , b.author, b.price);
return 0; }
- C Structure Program to Store Information of Book Using arrye
- C program to store information using structure for array of structures
- c program for Book using structure
- c program using structure to find Book program in c using array
- c program examples using structures
- c++ program for Book details using structure
- c program using structures employee details
- c program using structure array
- c program for Book details using files