Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

code for calender design. Copied answers will be reported fp = fopen(note.bin, w); } fclose(fp); while (1) { month ); printf(1. printf(2. ); year: );

code for calender design. Copied answers will be reported

imageimageimageimage

fp = fopen("note.bin", "w"); } fclose(fp); while (1) { month "); printf("1. printf("2. "); year: "); &year); printf("3. printf("4. Exit "); printf("Enter your choice: "); scanf(" %c", &choice); switch (choice) { case '1' printf("Enter the day, month and scanf("%d %d %d", &day, &month, printf("The day is : %s ", getName(getDayNumber (day, month, year))); break; fp); Find the day "); Print calendar of a Add Note "); case '2': printf("Enter the month and year: scanf("%d %d", &month, &year); printf("Please enter 's' to see the notes Press any other key to continue "); calendar (year, month); break; case '3': printf("Enter the day, month and year: "); ¬e.month, ¬e.year); opened "); scanf("%d %d %d", ¬e.day, flush(); printf("Enter the note: "); fgets (note.note, 255, stdin); fp = fopen("note.bin", "a+"); if (fp == NULL) { printf("File note.bin can not be } exit(1); fwrite(¬e, sizeof(Note), 1, printf("Note added sucessfully ");

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Elements Of Chemical Reaction Engineering

Authors: H. Fogler

6th Edition

013548622X, 978-0135486221

More Books

Students also viewed these Computer Network questions

Question

In the G/M/1 model if G is exponential with rate show that = /.

Answered: 1 week ago