Write a program using if else (elif when required) that takes input the temperature of a student as a float, prints:
“Normal” when below 99
“Fever” when above 98
Answers
Answered by
1
Answer:
Explanation:
#include<stdio.h>
int main()
{
int n;
scanf("%d",&n);
if(n<99)
{
printf("Normal\n");
}
else if(n>98)
{
printf("Fever\n");
}
}
Similar questions