I have a file number.txt .I need to get 2 inputs from the terminal like a=100 and b=200 .If a and b are there in the file,then check if a < b,print "less" .If a is not there in the file, print "a is missing" or if b is not there in the file, print "b is missing" .
Since there are no = characters in your sample input and there is no indication of how the value assigned to a is to be determined nor how the value of b is to be determined, and since you haven't even shown us what output you believe should be produced from your sample input there isn't much we can do without making lots of unsupported guesses.