arduino programming

Hi, I would like to find out whether below arduino programing is workable.

void loop()
{
val = analogRead(0); // read input value
if (val < 101)
{
digitalWrite(2, HIGH); //send signal to digital pin #2 in case input variable is smaller then 101
delay(1000);
digitalWrite(2, LOW);
delay(1000);
} else if (val > 100 && val < 201) {
digitalWrite(3, HIGH); //send signal to digital pin #3 in case input variable is greater then 100 and smaller then 201
delay(1000);
digitalWrite(3, LOW);
delay(1000);

I will connect just normal digital indicator which widely used for weight check(used wil loadcell).
This digital indicator will give between 0~5V DC voltage variables to arduino’s analog input pin(0) whenever it gets signal from loadcell.
I want to ask you two questions.
(1) Let’s say that the digital indicator is displaying 150, and send DC voltage(to arduino analog input) which corresponds to digital value 150, then the value arduino gets after the analog to digital conversion process is also 150?
(2) I want my arduino to send 40mA digital signal to another arduino when the variable received from analog input pin is greater then 100 and smaller then 201. Is above programming is suitable for my intention?

Thank you.