Write a program to print length & breadth of rectangular box from inches to feet
Answers
Answered by
3
In which language? QBasic or C or C# or C++?
Answered by
2
"#include<stdio.h>
#include<math.h>
class main()
{
int length, breadth, flength, fbreadth;
printf( “Enter the length value and breadth value of the rectangle: “ );
scanf(“%d”,”%d”, &length, &breadth);
// Formula to convert inches into feet
flength=length*0.083;
fbreadth=breadth*0.083;printf(“Converted length value and breadth value in feet are: ”, flength,fbreadth);
return 0;
}"
Similar questions