0

How I can create step count using java languague can someone please help me

16th May 2021, 11:10 AM
ANUSHKA WANJALKAR
ANUSHKA WANJALKAR - avatar
3 Antworten
0
int stepCount = 0; for (int i = 1; i<=5; i++){ stepCount +=1; } System.out.println(stepCount);
16th May 2021, 11:15 AM
Yaroslav Vernigora
Yaroslav Vernigora - avatar
0
Thank you so much for your help I will definitely try your code
16th May 2021, 11:16 AM
ANUSHKA WANJALKAR
ANUSHKA WANJALKAR - avatar
0
Happy coding!
16th May 2021, 11:16 AM
Yaroslav Vernigora
Yaroslav Vernigora - avatar