please tell me what mistake I have done?
Where to begin?
You made a statement, and used the wrong punctuation.
You failed to capitalize the first word in the sentence.
You FAILED to post code correctly. If this the level of attention you pay to all of your studies, you might as well ask your professor to fail you now and move on to basket weaving.
You FAILED to use arrays for things that belong together, like echo pin numbers, trigger pin numbers, etc.
You used meaningless names for global variables. No one can guess what the hell a and b are supposed to contain.
You used meaningless names for functions. IN() and OUT are useless names. AND, you forgot the damned parentheses on the OUT function.
count is another meaningless name. You are counting something, to the name of the variable should reflect that.
You FAILED to read the documentation on the functions you used. pulseIn() does NOT return an int.
You FAILED to create a function to read the ultrasonic sensors. Instead, you copied and pasted the code, and maybe failed to make a required change to the pasted copy.
You FAILED to assign values to a and b, and yet you expect them to not be 0.
You FAILED to properly indent your code, so that the structure is apparent.
Finally, you slammed a bunch of paper down, and asked "what's wrong with this" without giving a clues as to whether it compiled, whether it called you a sissy, or exactly what the problem is.