Posts

Showing posts from March, 2017

HOW TO: Convert Celsius To Fahrenheit in C Programming (HD)

Image
How To: Convert Celsius To fahrenheit in C Programming SOURCE CODE!!! #include <stdio.h> int main() {     int celsius, fahrenheit;     printf("Enter temperature in Celsius: ");     scanf("%d", &celsius);     fahrenheit=(celsius*1.8)+32;     printf("Temperature in Fahrenheit: %d", fahrenheit); } Feel free to visit my YouTube channel:  Four For Fighting

How To: Determine BMI Level in C Programming

Image
HOW TO DETERMINE BMI LEVEL IN C PROGRAMMING SOURCE CODE!!! #include <stdio.h> #include <stdlib.h> int main() {  float w, h, bmi;  printf("Enter your weight in kg: ");  scanf("%f", &w);  printf("Enter your height in meter: ");  scanf("%f", &h);  bmi=w/(h*h);  if(bmi<18.5)   printf("Underweight");   else if((bmi>18.5)&&(bmi<24.9))   printf("Normal");   else if((bmi>24.9)&&(bmi<29.9))   printf("Overweight");   else if(bmi>30)   printf("Obesity");  return 0; } Feel free to visit my YouTube channel:  Four For Fighting

HOW TO: Determine Minimum & Maximum Number in C Programming

Image
HOW TO: Determine Minimum & Maximum Number in C Programming SOURCE CODE #include <stdio.h> int main() {     int i, number[3], MIN, MAX;     for(i=0; i<3; i++)     {         printf("Enter number: ");         scanf("%d", &number[i]);     }     MIN=number[0];     MAX=number[0];     for(i=0; i<3; i++)     {         if(number[i]<MIN)             MIN=number[i];         if(number[i]>MAX)             MAX=number[i];     }     printf("Maximum: %d", MAX);     printf("\nMinimum: %d", MIN); } Feel free to visit my YouTube channel:  Four For Fighting