write a c++ program to determine whether it is male or female..
Answers
Answered by
1
#include<stdio.h>
void main()
{
char a,b ,det=determine; //asign //
printf("enter any two character");
scanf("%c%c"&a,&b);
det= =wear a sari
if(a==det)
a==female
else,a==male
scanf("%d",&a);
}
i think you get some clue of ans
void main()
{
char a,b ,det=determine; //asign //
printf("enter any two character");
scanf("%c%c"&a,&b);
det= =wear a sari
if(a==det)
a==female
else,a==male
scanf("%d",&a);
}
i think you get some clue of ans
theavneil1:
thanks
Similar questions