Put that in code tags, not subscript. Not only is it illegible to begin with but the reduction in letter size is even worse. Unless you intend to write something in fine print (usually as a joke of some kind) you should type in full size.
Now then, what are your errors? What is going wrong?
Wrong tags. http://www.cplusplus.com/articles/firedraco1/
And the tiny text in that error box is absolutely impossible to read... I'd try to help you at this point if I could, but I just can't see it.
And you can't have a space in a function's name either. Omit all spaces in names.
I fixed the trial2 error. thanks. Could someone help me fix my program please. I want my code. Sorry about making the errors look small. I fixed how it looks now. I really need to fix this. I've been working on fixing it on my own for the past 2days and I can't. I would really appreciate it if someone fixed my code and posted it. Thank you.
I just have some quick advice: the variable i should not be float or double. That causes risks of floating point inaccuracy that will never come up in integer arithmetic. Almost always, counters should be integers.
Also, on the line where you call calc the second time, you have no call brackets. (This is why you use code tags and not output. Code tags have line numbers.) I think that is the source of a lot of the errors, but I'm just not patient enough to count lines for the rest of them. Try changing that and see what happens.