Question

 

Write a menu driven program (using switch-case) which accepts a number as user input: A) Checks whether the number is even or odd B) Checks whether the number is prime

09 Jan 2026
Answer :
Word Count : 135
#include #include int main() { int choice, num, i, flag; ``` while(1) { printf("\nMenu:\n"); printf("1. Check Even or Odd\n"); printf("2. _________ __________ ________ ____ _____ _________ ___.
____ _______ ________ _____ _____ _________.
_______ ______ _________ ____ _______.
________ __________ ______ _____ _________.
_____ _____ _____ __________ ________ _______ ________ ______ _______.
________ _______ ______ __________ __________ ___ __________ _______ ___.
_________ _____ ____ _______ _______ ________.
__________ __________ ______ __________ _____ ________ ________ _______ _____ _____ ____ _____.
______ ______ _________ ____ _________.
__________ __________ ___ _____ __________ ____ _________ ________.
______ _________ ____ ________ _________ ___ _______ ____ __________.
______ ________ ________ _______ ______ __________.
______ ___ ___ ________ _________ _____ ___ ________.
_____ ____ ______ __________ _________ _____ ___ __________ ________.
________ _______ ___ ____ ____ ______ _________ ______ _____.
Get Full Answer on WhatsApp
IGNOU NEWS
Assignment Submission Last Date Extended Till 30 June 2026 Click Here★★★IGNOU June 2026 TEE Date Sheet Released Click Here★★★
Top
📞
Call Support Instant phone assistance  Write a menu driven program (using switch-case) which accept
→
🟢
WhatsApp Chat Fast live messaging
→
Email Us Business enquiries & support
→