Write a program to read distane in inches and convert the same into feets and inches (1 feet=12 inch)
Answers
Answered by
0
Answer:
1 feet is equal to 12 inch means 4 inch
Answered by
1
Answer:
#include<stdio.h>
int main()
{
int feet,inches;
printf("Enter the value of feet: ");
scanf("%d",&feet);
//converting into inches
inches=feet*12;
printf("Total inches will be: %d\n",inches);
return 0;
}
Explanation:
just an example u can try and plzz mark me as a brainlist
Similar questions