Rather than having to input :
If (number= (100*1)+10){
printf("number times a hundred plus ten");
If(number=(100*1)+10){
printf("number times a hundred plus ten");
etc...
Isn't there a way i can condense that into one IF with an Or ||... i've tired it but what ends up happening is any number sent to this subroutine prints the message even though i only want it to print if it specifically meets ((100*1)+10) or ((100*2)+10) etc.
What am i doing wrong ?
Please and thank you .