Name: Crisviner D. Sumayang
Age: 17
Address: 1st Alley Sta. Lucia St. Mintrade Agdao Davao City
Birthdate: January 18, 1990
Zodiac Sign: Capricorn
Birth Place: Davao City
Religion: Roman Catholic
Hobbies & Interests: Watching T.V. specially animes, listening music,playing online-games
Favorite Movies: Harry Potter
Favorite Music: all r&b music
About me: simple, tall, fair skin
Mother's name: Rene E. Sumayang
Father's name: Rosa D. Sumayang
Motto: "Make your life to the fullest" & "Always Smile"
C++ CODE:
#include
#include
main()
{ int cel, fahr, kel;
printf("What is your Temperature in Celsius? ");
scanf("%d", &cel);
fahr=cel*9/5+32;
kel=cel+273
printf("\n in Fahrenheit=%d", fahr);
printf("\n in Kelvin =%d", kel);
getch();
}
OUTPUT:
What is your Temperature in Celsius? 25
in Fahrenheit= 77
in Kelvin = 298
No comments:
Post a Comment