Subversion Repositories svnkaklik

Compare Revisions

No changes between revisions

Ignore whitespace Rev 159 → Rev 160

/programy/C/nejvetsi/nejvetsi.c
0,0 → 1,30
#include <stdio.h>
 
 
float nejvetsi (float a,b,c)
{
if (a>b)
{
if (a>c) return (a);
}
else
{
if (b>c) return (b);
else return (c);
}
}
 
int main (void)
{
float a,b,c=0;
// zadej hodnoty
printf("\n Zadej hodnotu a= ");
scanf("%f",&a);
printf("\n Zadej hodnotu b= ");
scanf("%f",&b);
printf("\n Zadej hodnotu c= ");
scanf("%f",&c);
printf("nejvetsi hodnota je %f",nejvetsi(a,b,c));
}
/programy/C/nejvetsi/nejvetsi.exe
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property