I need help on what the formula I should use to make feet into yards
I am very confused on how to make a formula that would make feet to yards
Voters
DynamicSquid
What language? All you need to do is to get the user input in feet, and times that by 0.33
to get the number of yards.
JonWakilsChanne
The language is java
@DynamicSquid
DynamicSquid
@JonWakilsChanne just do:
float feet = 10; float yards = feet / 3;
Coder100
Just divide it by 3...
There are 3 feet in a yard.
double feet = 12; double yards = feet / 3; // 4 yards, which is correct.
You can go to https://yardadvices.com/ and see if they cover this topic in depth. I am sure they did.