Answered step by step
Verified Expert Solution
Question
1 Approved Answer
zy Section 6.22 - COP 2224: Programming in C+ + X C https://learn.zybooks.com/zybook/SJRSTATECOP2224HolbertFall2022/chapter/6/section/22 ... =zyBooks My library > COP 2224: Programming in C++ home >
zy Section 6.22 - COP 2224: Programming in C+ + X C https://learn.zybooks.com/zybook/SJRSTATECOP2224HolbertFall2022/chapter/6/section/22 ... =zyBooks My library > COP 2224: Programming in C++ home > 6.22: LAB: Step counter zyBooks catalog Help/FAQ Scott Stockton zy 4 Latest submission - 3:14 PM EDT on 10/10/22 Total score: 0 / 10 + Only show failing tests Download this submission 1: Compare output 0 / 2 Output differs. See highlights below. Special character legend Input 150.5 Your output Enter feet walked: 150. 5feet converted to steps: 60 Expected output 60 2: Compare output 0 / 2 Output differs. See highlights below. Special character legend Input 10000 Your output Enter feet walked: 10000feet converted to steps : 4000 Expected output 4000 3: Unit test ~ 0/3 Type here to search O e 4 X N 20 780F ~ DJ (7 4 10/10/2022 3:15 PMzy Section 6.22 - COP 2224: Programming in C++ X C https://learn.zybooks.com/zybook/SJRSTATECOP2224HolbertFall2022/chapter/6/section/22 SE ... E zyBooks My library > COP 2224: Programming in C++ home > 6.22: LAB: Step counter LEzyBooks catalog ? Help/FAQ @ Scott Stockton int FeetToSteps (double userFeet) 416894.2738304.qx3zay7 zy LAB ACTIVITY 6.22.1: LAB: Step counter 6 / 10 main.cpp Load default template.. + 1 #include #include using namespace std; int FeeToSteps ( double userFeet) { return userFeet/2.5; 10 11 int main( ) { 12 double userFeet; 13 14 cout > userFeet; 16 17 cout
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started