In this question ,it is given that a store has 40 bags of potato chips on the shelf. Of those 40 bags, 30 are cheddar flavored.
First we have to find number of bags which are not cheddar flavoured.
And for that , we have to subtract number of chaddered flavored bags from total number of bage, that is

And the required percentage is

