Q.1 Write a C program to declare book structure (bookno, bookname, author). Accept details of n books and display books of particular author. #include<stdio.h> #include<string.h> struct book { char book_name[30]; char author[30]; int book_id; }; int main() { struct book b[100]; // Here b is a variable of structure book int i,n; char temp[30]; printf("Welcome to DataFlair tutorials!\n\n"); printf("How many the record of books:\n"); scanf("%d",&n); for(i=0;i<n;i++) { printf("Enter the book name: "); scanf("%s",b[i].book_name); printf("Enter the author name: "); scanf("%s",b[i].author); printf("Enter the book ID: "); scanf("%d",&b[i].book_id); } printf("\nThe details of the book are:\n\n"); for(i=0;i<n;i++) { printf("The book name is: "); puts(b[i].book_name); printf("The author name is: "); puts(b[i].author); printf("The book ID i...
Posts
Showing posts from July, 2022
Question Bank of MIS(SYBBA(IB))
- Get link
- X
- Other Apps
Question Bank of MIS Q.1) Answer the following Question. · Discuss contemporary approaches to MIS. · Define MIS and explain need of MIS. · Define ‘‘MIS’’ and explain the need, objectives of MIS. · Explain the use of information for competitive advantage. · Discuss MIS as an instrument for organizational change. · Elaborate sources, types and attributes of information. · Explain in detail “...