If Statement

Introduction

Suppose you can buy a watch if you get at least $20 in an allowance. Otherwise, you cannot. In C++, how can we make a decision based on a condition?