Aktualizovat du3/program.c
This commit is contained in:
parent
188f3e7dba
commit
7ceee26fd2
@ -10,6 +10,9 @@
|
|||||||
//VRACIA: int: -1 (CHYBA), 0 (False), (True)
|
//VRACIA: int: -1 (CHYBA), 0 (False), (True)
|
||||||
int IsArithCorrect(float num1, float num2, char* op, float result)
|
int IsArithCorrect(float num1, float num2, char* op, float result)
|
||||||
{
|
{
|
||||||
|
printf("%.6f", num1);
|
||||||
|
printf("%.6f", num2);
|
||||||
|
printf("%.6f", result);
|
||||||
|
|
||||||
switch (*op)
|
switch (*op)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user