Skip to content
Snippets Groups Projects
Commit f35e54e9 authored by Patryk Waracki's avatar Patryk Waracki
Browse files

Upload New File

parent c5c1ad4a
No related merge requests found
#include<stdio.h>
#define PI 3.14159265359
#define stala_temp
int main()
{
int liczba;
printf(" Podaj liczbe:\n ");
scanf("%d", &liczba);
printf(" twoja liczba to: %d \n", liczba);
float obwod, pole , promien;
printf(" Podaj promien:\n ");
scanf("%f", &promien);
obwod= 2* PI* promien;
pole= PI* promien* promien;
printf(" pole kola to: \n %f \n ", pole);
printf("obwod kola to: \n %f \n ", obwod);
float C, F;
printf("jaka jest temperatura w C? \n ");
scanf("%f", &C);
F=C*9/5+32;
printf(" temperatura w F: \n %f \n", F);
return 0;
}
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