Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Welcome to Code Forum!
Join a community that supports you and your coding journey from day one. We strive to be a friendly, supportive community that empowers everyone to be better developers. By registering with us, you'll be able to discuss, share and private message with other members of our community.
i really appreciate your caring and advice, but im doing it as a part of the degree i feel like i started C learning with a bad start and the fact that im comparing myself to others that has learned this program in the past or any other programing made me feel kinda bad and worried about myself...
I started to learn C and i feel so insecure and depressed because i dont understand C programming i mean it feels like im missing something like i need to start all over again from the begging of the code learning . i can sit on some question for hours and still couldn't even write a code...
Yesss just like you said the function is moving each digit to the front every loop ..
And yea its kinda silly to do it after the amount of spins is bigger than the amount of dight becuase you are coming back to the original number , so maybe you can to also program that when spins>digits the...
Yes exactly.
aw thats my mistake 2 spins will get you 3412 sorry.. :rolleyes:
well i guess its probably me not explaining so well haha..
so how do i write it as a code cus i couldnt do it as you see..?? ..:(
1 "spin" is reversing one digit like 123 will turn to 312 ( the unity digit "3" turned into the hundreds unit ) .
And obviously its kinda stupid to do 4000 spins for a number of 4 digits , but i guess he just want that ill define a code that will also know when the amount of reverses will get...
Yes to reverse them .. (sorry my english aint so good 😅) .
And the professor called the reverse action as "spin", so the user can choose a number and the amount of reverses he want to do to the number .
Ill try to be more understandable , the question is to write a code that rotate a positive...
hello everyone ..
i would really appriciate it if someone would help me with this question..
i upload here the code i wrote, its not really solving anything (i get an really odd outputs),but i would like that someone will explain to me what am i doing wrong ( even if its probably everything :(...