courseProject with code and output shown