This commit is contained in:
2024-06-17 03:24:07 +03:00
parent 04d946e28c
commit 7522af1dc2
10 changed files with 105 additions and 5 deletions

View File

@ -0,0 +1,15 @@
#include <stdio.h>
int CelciusConvert(int c) {
int f;
f = ((c*9)/5)+32;
return f;
}
int main(void) {
int c;
int f;
printf("%s\n", "Enter Celcius degree!");
scanf("%d", &c);
printf("%d %s %d",c, " Celcius equals to Fahrenheit: ", CelciusConvert(c));
}