Built something? We create video reels & spotlights for GitHub projects.Promote your project →
Catalog / tanberg21 / qvadr
Public GitHub Catalog Discovered Sep 27, 2026

tanberg21 / qvadr

#include <iostream> using namespace std; int main() { double x1,x2; double a, b, c; cout<<"The quadratic decision\nEnter in one line value of factors and press <Enter>\n"; cin>>a>>b>>c; if(a==0) { cout<<"The equation isn't square"; } else { double d=b*b-4*a*c; if(d<0) { cout<<"The equation has no decision in the valid area"; } if(d==0) { cout<<"The equation has 2 identical roots of the equation:\n"; x1=-b/(2*a); cout<<"x = "<<x1; } if(d>0) { cout<<"Equation roots:\n"; d=sqrt(d); x1=(-b+d)/(2*a); x2=(-b-d)/(2*a); cout<<"x1 = "<<x1<<"\n"<<"x2 = "<<x2; } } return 1; }

View repository on GitHub ↗ View creator profile Browse directory

About this discovery

This repository is cataloged as part of our automated global GitHub synchronization. Full telemetry, velocity snapshots, and code summaries are scheduled for continuous enrichment.

#10303277GitHub System ID
tanberg21Organization / User
PublicVisibility
ActiveCatalog Status
FOR MAINTAINERS

Built something? Put it in front of millions of developers.

We make a short reel about your project and post it across YouTube, Instagram, Threads, and X. Send a link, we do the rest.