Question: Please answer these in language C for someone with beginner level knowledge ( first grader at college ) to understand? Exercise - 1 ( a
Please answer these in language C for someone with beginner level knowledge first grader at college to understand? Exercise
a Write a C program that takes in the index of a month for January, for February, etc. and displays how many days there are in that month.
b Now modify the above code, this time accounting for leap years ie when February is days instead of
Bahcesehir University
CMP
WeekOct
IfElse Statements
Switch Statements
SumUp
o
Exercise
Write a C program that gets two integer numbers from the user and checks whether the first integer number is a multiple of the second integer number. If it is program will print "The first integer is a multiple of second integer", and "The first integer is not a multiple of second integer", otherwise.
Hint: Also check any divide by zero condition, and if necessary give warning message that prints "Divide by zero error!"
Example: Day of Week
Write a program that gets the number of the day and outputs the day Monday for "Tuesday" for dots
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
