Quote:
Originally Posted by mikey1991
Works here; http://pastebin.com/embed_iframe.php?i=q7Hx7EAZ <- example url which is being iframed by the code.
May need to rebuild counters or such. Sorry for the delayed response, I'm quite busy these days so my mods go unsupported til I have time.
|
What counters?
And when I try this:
[paste]/**
* @Author: Kyle
* @Date: 08-31-2010
* @Description: Quadriatic Formula
*
*/
#include <stdio.h>
#include <math.h>
#include <windows.h>
main()
{
float a, b, c, answer1, answer2;
printf("Enter your equation Ax^2+Bx+C\n\n");
printf("Enter A: ");
scanf("%f", &a);
printf("Enter B: ");
scanf("%f", &b);
printf("Enter C: ");
scanf("%f", &c);
answer1=(-b+(sqrt(b*b-(4*a*c))))/(2*a);
answer2=(-b-(sqrt(b*b-(4*a*c))))/(2*a);
if (answer1 < 0 || answer2 < 0)
{
printf("The roots are: %f and %f\n",answer1,answer2);
}
else
{
printf("The values are imaginary...\n");
}
system("PAUSE");
return 0;
}[/paste]
It tells me this...
"Data provided by Pastebin.com - Download Raw
ERROR, PASTE ID IS INVALID, OR PASTE HAS BEEN REMOVED!"
When I hover over raw code it displays this:
"http://pastebin.com/raw.php?i=/**%20br%20/%3E*%20@Author:%20Kyle%20br%20/%3E*%20@Date:%2008-31-2010%20br%20/%3E*%20@Description:%20Quadriatic%20Formula%20br%2 0/%3E*%20br%20/%3E*/%20br%20/%3E%20br%20/%3E"