Code:
#include<cs50.h>
#include<stdio.h>

int main(void)
{


int i = 0;
do{
    while(i == 0)
        {
printf("Please enter a Value between 0 and 23:\n");
scanf("%i", &i);
        }

while (i < 0 || i > 23);

printf("enter a new value, your input is incorrect");
        {
while (i >= 0 || i <= 23);   

printf("#");
        }
  }
Just an update if anyone is interested so far. Still getting two errors at the moment, will just keep working on it.