Create percent.cpp

created