You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
int main()
{
int age, income;
printf("Enter your age: ");
scanf("%d", &age);
printf("Enter your annual income: ");
scanf("%d", &income);
if (age >= 21 && income >= 21000) {
printf("Congratulations, you qualify for a loan.\n");
} else {
printf("Unfortunately, we are unable to offer you a loan at this time.\n");
}
return 0;
}
The text was updated successfully, but these errors were encountered:
#include <stdio.h>
int main()
{
int age, income;
printf("Enter your age: ");
scanf("%d", &age);
printf("Enter your annual income: ");
scanf("%d", &income);
}
The text was updated successfully, but these errors were encountered: