a) Write a C program to check whether a number is even or odd.(AC01.c)
b) Write a C program to check whether a number is negative, positive or zero.(AC02.c)
c) Write a C program to find maximum between two numbers.(AC10.c)
d) Write a C program to input any alphabet and check whether it is vowel or consonant.(AC11.c)
e) Write a C program to find maximum between three numbers.(AC03.c)
f) Write a C program to check whether a character is uppercase or lowercase alphabet.(AC04.c)
g) Write a C program to input week number and print week day.(AC06.c)
h) Write a C program to check whether the triangle is equilateral, isosceles or scalene triangle. (AC07.c)
i) Write a C program to calculate profit or loss.(AC08.c)
j) Write a C program to input any character and check whether it is alphabet, digit or special character.(AC09.c)
k) Write a C program to input electricity unit charges and calculate total electricity bill according to the given condition (AC05.c)
- For first 50 units Rs. 0.50/unit
- For next 100 units Rs. 0.75/unit
- For next 100 units Rs. 1.20/unit
- For unit above 250 Rs. 1.50/unit
a) Write a C program to print day of week name using switch case.(w1.c)
b) Write a C program print total number of days in a month using switch case.(w2.c)
c) Write a C program to check whether an alphabet is vowel or consonant using switch case.(w3.c)
d) Write a C program to find maximum between two numbers using switch case.(w4.c)
e) Write a C program to check whether a number is even or odd using switch case.(w5.c)
f) Write a C program to check whether a number is positive, negative or zero using switch case.(w6.c)
g) Write a C program to create Simple Calculator using switch case.(w7.c)