Commit e03d5694 authored by krepima's avatar krepima
Browse files

Druhý commit

parent 2c1bd202
No related merge requests found
Showing with 10 additions and 12 deletions
+10 -12
......@@ -5,16 +5,14 @@
int main()
{
std::cout << "Hello World!\n";
}
//ei kvadratickch rovnic s podmnkami
double a, b, c;
printf("Ahoj, umim resit kvadratickou rovnici y = ax^2 + bx + c\n");
printf("Zadej foeficient 'a':\n");
scanf_s("%f", &a); //ten z klvesnice jako desetinn slo do promnn 'a'
printf("Zadej foeficient 'b':\n");
scanf_s("%f", &b); //ten z klvesnice jako desetinn slo do promnn 'a'
printf("Zadej foeficient 'c':\n");
scanf_s("%f", &c); //ten z klvesnice jako desetinn slo do promnn 'a'
// Run program: Ctrl + F5 or Debug > Start Without Debugging menu
// Debug program: F5 or Debug > Start Debugging menu
// Tips for Getting Started:
// 1. Use the Solution Explorer window to add/manage files
// 2. Use the Team Explorer window to connect to source control
// 3. Use the Output window to see build output and other messages
// 4. Use the Error List window to view errors
// 5. Go to Project > Add New Item to create new code files, or Project > Add Existing Item to add existing code files to the project
// 6. In the future, to open this project again, go to File > Open > Project and select the .sln file
}
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment