Let's say that I want scanf to process the following text

balance = 100

How do I skip over the word balance and the equal sign and capture only 100 and place it into an integer variable x?

Thanks.

Pier.