Sep 12, 2024
#include directive to incorporate the iostream library for input and output.std::cout for output.std::endl for new line.int, double, float, char, bool.const keyword to prevent changes.std::cin for input, std::cout for output.cmath library for mathematical functions like floor, ceil, pow.rand(), srand() with current time as seed.// for single line, /* ... */ for multi-line.