I messed up! Someone help and give good advice. Please!

I am a 4th year CS student. Have 7 more months for me to finish undergrad. My CGPA is a staggering 5.5/10 and i didn't start learning how to code. All my peers are way ahead of me. I am willing to do anything and everything to get a job. I am willing to study even 12+ hours everyday(minimum). Can someone please help me and tell me what to do?

The simple thought of being jobless and sitting in my home idle is just very scary. Feel like crying. Haven't told anybody about my situation. Very painful. The reason i am like this is because i am an introvert and don't have any friends. I messed up but i am ready to work for the future.