Badboy is defined who has ALL the following properties:
Does not have a girlfriend and is not married.
He is not more than 23 years old.
The middle name should be "Singh"
The last name should have more than 4 characters.
The character 'a' should appear in the last name at least
two times.
The name of one of his brothers should be "Ram"
Write a method:
boolean isBadBoy(boolean hasGirlFriend , boolean isMarried,
int age , String middleName , String lastName , String[]
brotherName);
isHaveGirlFriend is true if the person has a
girlfriend
isMarried is true if the person is married
age is the age of the person
middleName is the middle name of the person
lastName is the last name of the person
brotherName is the array of the names of his
brothers
No Answer is Posted For this Question
Be the First to Post Answer
Write a program that accepts a string where multiple spaces are given in between the words. Print the string ignoring the multiple spaces. Example: Input: “ We Are Student “ Output: "We Are Student"
What is FIFO?
Do you know null pointer?
What does s c mean in text?
Write a program to generate the first n terms in the series --- 9,11,20,31,...,82
how is the examination pattern?
How does free() know explain how much memory to release?
main() { inta=10,b=20; a>=5?b=100:b=200; printf("%d ",b); }
how to introdu5ce my self in serco
What is scanf () in c?
What are the characteristics of arrays in c?
who is the father of C Language?
20 Answers CTS, UST,