ok,so i started programming yesterday,and im trying to write a code for the collatz conjecture,heres where i am
now how do i tell it that if x is an even integer,that i want to divide it by 2,im stuck with the even integer part.Code:#include <stdio.h> int main() { int x prinf( "Enter Number" ); scanf( "%d", &x );