sorry..this what i've done so far..would tou mind to look and comment at it..i'm using codeBlocks btw..thanks..
Code:
#include <stdio.h>
#include <stdlib.h>
int main()
{
char u;
char field;
int age;
printf("Enter you university: \n");
printf("Enter your field: \n");
printf("Enter your age: \n");
scanf("%c", &u);
scanf("%c", &field);
scanf("%d", &age);
if ( u == 'i')
{ if ( age >= 25)
printf("Congratulation 1");
else if (age >=25 && age <=30)
printf("Congratulation 2");
else
printf("Sorry 1");
}
else
{
if(age >= 25 && age <=40)
printf("Congratulation 3");
else if (age >=25 && age<=35)
printf("Congratulation 4");
else
printf("Sorry 2");
}
return 0;
}