error: ‘atoi’ was not declared in this scope

Error
occurred

error: ‘atoi’ was not declared in this scope

Solution: add header file
to

#include<stdlib.h>

Read More: