Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <stdlib.h>
- float cwf(float);
- int main()
- {
- float a;
- printf("Podaj tem. w stopniach Celcjusza: ");
- scanf("%f", &a);
- float f=cwf(a);
- printf("Dana temp. wynosi %0.2f stp. Fahhrenheita.", f);
- return 0;
- }
- float cwf(float a)
- {
- return (9.0/5.0*a +32);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement