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.

SignUp Now!

Search results

  1. J

    Im so depressed i wanna cry ..

    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...
  2. J

    rotate number function (help me please)

    By the way do you maybe know any good C instructor ? Or some youtube channel i could learn from?
  3. J

    Im so depressed i wanna cry ..

    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...
  4. J

    rotate number function (help me please)

    I will upload the code soon if you want to. And it was corrected
  5. J

    rotate number function (help me please)

    Eventually i got help from the uni , so thank you so much anyway :)
  6. J

    rotate number function (help me please)

    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...
  7. J

    rotate number function (help me please)

    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..?? ..:(
  8. J

    rotate number function (help me please)

    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...
  9. J

    rotate number function (help me please)

    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...
  10. J

    rotate number function (help me please)

    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 :(...
Back
Top Bottom