Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
krepima
nic
Commits
e03d5694
Commit
e03d5694
authored
2 years ago
by
krepima
Browse files
Options
Download
Email Patches
Plain Diff
Druhý commit
parent
2c1bd202
master
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
E2A_PRO/cv06/cv06.cpp
+10
-12
E2A_PRO/cv06/cv06.cpp
with
10 additions
and
12 deletions
+10
-12
E2A_PRO/cv06/cv06.cpp
+
10
-
12
View file @
e03d5694
...
...
@@ -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
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets