C Programs Solutions
C Programs Solutions
#include <stdio.h>
#include <ctype.h>
int main() {
char ch;
scanf("%c", &ch);
ch = tolower(ch);
} else {
return 0;
#include <stdio.h>
int main() {
float a, b, c;
if (a == b && b == c) {
} else if (a == b || b == c || c == a) {
} else if ((a * a + b * b == c * c) || (b * b + c * c == a * a) || (c * c + a *
a == b * b)) {
} else {
} else {
return 0;
#include <stdio.h>
int main() {
} else {
return 0;
#include <stdio.h>
#include <math.h>
int main() {
discriminant = b * b - 4 * a * c;
if (discriminant > 0) {
root1 = -b / (2 * a);
} else {
realPart = -b / (2 * a);
return 0;
#include <stdio.h>
int main() {
int year;
scanf("%d", &year);
} else {
}
return 0;
#include <stdio.h>
#include <ctype.h>
int main() {
char ch;
scanf("%c", &ch);
if (isalpha(ch)) {
} else if (isdigit(ch)) {
} else {
return 0;