Course Solutions Uncategorized (Solved) : Flowchart Program C Language Program Include Include Include Include Struct Library Char B Q29501339 . . . .

(Solved) : Flowchart Program C Language Program Include Include Include Include Struct Library Char B Q29501339 . . . .

 

FLOWCHART TO THIS PROGRAM…THIS IS A C languageprogram

#include<stdio.h>
#include<conio.h>
#include<stdlib.h>
#include<string.h>
struct library
{
 char bk_name[30];
 char arthur[30];
 int pages;
 float price;
};

int main()
{
 struct library l[3];
 char ar_nm,bk_nm;
 int i,j;

 printf (“1. Add book informationn2. Display bookinformationn3. List all books of given authorn4. List the titleof specified bookn5. List the count of books in the libraryn6.Exit”);

 printf (“nnEnter one of the above : “);
 scanf(“%d”,&j);

 switch (j)
 {
  case 1:
   for (i=0;i<3;i++)
   {

    printf (“Enter book name = “);
    scanf (“%s”,&l[i].bk_name);

    printf (“Enter arthur name = “);
    scanf (“%s”,&l[i].arthur);

    printf (“Enter pages = “);
    scanf (“%d”,&l[i].pages);

    printf (“Enter price = “);
    scanf (“%f”,&l[i].price);
   }
   break;
  case 2:
   printf(“you have entered the following informationn”);
   for(i=0;i<3;i++)
   {
    printf (“book name = %s”,l[i].bk_name);

    printf (“arthur name = %s”,l[i].arthur);

    printf

OR

PayPal Gateway not configured

OR

PayPal Gateway not configured

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post

(Answered) : Problem 154 Question Help 1c Howards Medical Testing Company Kansas Wishes Assign Set Jobs Q28644445(Answered) : Problem 154 Question Help 1c Howards Medical Testing Company Kansas Wishes Assign Set Jobs Q28644445

<br/><img src="https://media.cheggcdn.com/media%2Fcb0%2Fcb0f0c08-d6c9-40c8-9791-bb41aabd7d06%2Fimage" alt="Problem 15.4 ίΞ Question Help 1C. Howards medical testing company in Kansas wishes to assign a set of jobs to a set of machines. The tollowing table provides