I have an exam today and I probably took 0 from exam because of a 1 statement. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

I have an exam today and I probably took 0 from exam because of a 1 statement.

I have an exam today, my first exam. And it is really easy. They want a program that can calculate constant e: e=1+1/1!+1/2!+.. And I did my program. But when I compiled my program, I got an error called Core exception. I shocked. I have never seen an error like this. When I came to my house, I looked to my program. I had to write just 1 more statement. I am really sad. Don't go to an exam without a paper and without looking your programming book. Don't trust your knowledge...

6th Oct 2017, 1:05 PM
Yusuf
Yusuf - avatar
3 Answers
+ 2
Well, we all make mistakes, would you share your code so I can learn from the mistake? in what language did you do it?
6th Oct 2017, 2:54 PM
Ipang
+ 2
In C.My comp is not at my near now. But I will share it inshaallah. @Ipang
6th Oct 2017, 4:28 PM
Yusuf
Yusuf - avatar
+ 1
Oh, it's okay, post it at your convenience, thanks for sharing :) Salam @Joseph
6th Oct 2017, 9:06 PM
Ipang