Can you please tell me where are the problems here?
A-write a code that interacts with user as follows: 1.1 At the beginning of the code or any reset print : (function with no inputs) “ welcome to my code my name is (your name) ,if you are a male enter 1 and if you are a female enter 2 “ 1.2 After you store the number in a variable , use as an input for another functions that has no output and prints “welcome Mr” or “welcome miss” (function with no output but has an input) 2. Get the birthdate #include <stdio.h> int gender(); int birth(g); void welcoming(h); int main() { int a,x,g,h; x= gender(); welcoming(x); a= birth(g); } int gender(void) { printf("Welcome my name's Retaj"); printf("if you are a male enter 1 and if you are a female enter 2"); scanf("%d",&h); return (h); } void welcoming(gender(void)){ if (h==1){ printf("Welcome Mr"); } else {printf("Welcome Mrs"); } } int birth (int g){ printf("enter your birth date"); scanf("%d",&g); int age=2018-g; return (age); }