# Introduction In this lab, we will learn how to check whether a given number is prime or composite in C++. A prime number is a number greater than 1 that cannot be divided by any number other than 1 and itself. A composite number is a number greater than 1 that can be divided by numbers other than 1 and itself.
Click the virtual machine below to start practicing