Assignment 3
Assignment 3
Q.No.
Assignment Questions Marks* RBT CO
1 Develop a C program to demonstrate the use of the if-else 6 3 3
construct by applying its syntax and creating a flowchart. Use the
construct to check whether a given integer is positive,negative,or
zero, and display an appropriate message for each condition.
2 Write a C program to display the name of the day based on the day 6 3 3
number (1 for Monday, 2 for Tuesday, ..., 7 for Sunday) using the
switch statement. Include a flowchart to visually represent the
decision-making process. Ensure the program handles invalid day
numbers gracefully by displaying an appropriate message.
*This is the actual marks for the question that appears in yourInternalAssessment/SEE.This will
prepare you for your SEE.