int main ()
{
int a;
int b;
int c;
printf("enter the coeffitient of xx\n");
scanf("%d" ,&a);
printf("enter the coeffitient of x\n");
scanf("%d" ,&b);
printf("enter the value of c\n");
scanf("%d" ,&c);
int p;
p=(-b+(bb-(4ac))1/2)/2a;
int n;
n=(-b-(bb-(4ac))1/2)/2*a;
printf("The solutions of the equation are %d and %d", p,n);
return 0;
}
Comments
int main(){ int row[2][7]; int i,j,min1,min2; min1=0; min2=0; for(i=0;i<2;i++){ for(j=0;j<7;j++){ scanf("%d",&row[i][j]);
}
include<stdio.h>
int main () { int a; int b; int c; printf("enter the coeffitient of xx\n"); scanf("%d" ,&a); printf("enter the coeffitient of x\n"); scanf("%d" ,&b); printf("enter the value of c\n"); scanf("%d" ,&c); int p; p=(-b+(bb-(4ac))1/2)/2a; int n; n=(-b-(bb-(4ac))1/2)/2*a; printf("The solutions of the equation are %d and %d", p,n); return 0; }