This is the new code i've developed but the problem im having is that it only prints the bounds inputted, 0, and 1. Any suggestions?
#include <stdio.h>
void getinput(int*,int*);
void...
Type: Posts; User: cubbies5
This is the new code i've developed but the problem im having is that it only prints the bounds inputted, 0, and 1. Any suggestions?
#include <stdio.h>
void getinput(int*,int*);
void...
Unfortunately it doesn't work :-/
All i can get it to print are the boundaries
So in order to prevent that infinite loop what should I do instead?
Thanks for the replies.
I find smokeyangels code to be a little confusing/vague sorry. Flag??
so the more efficient code would be:
int numbers(int i, int j)
{
for i++
for 1<j++ &&...
I am terrible with coding, so hopefully one can help.
I am in a basic coding computer science class, so I can only use codes involving do while loops, while loops, and if statements.
The...