Professional Documents
Culture Documents
Q1. Write A C Program That Reads The Side Size Between 1 and 10 Od A Square and Prints A Hollow Square Using Hash (#) Character?
Q1. Write A C Program That Reads The Side Size Between 1 and 10 Od A Square and Prints A Hollow Square Using Hash (#) Character?
Q1. Write A C Program That Reads The Side Size Between 1 and 10 Od A Square and Prints A Hollow Square Using Hash (#) Character?
while(num > 0) {
remainder = num % 10;
num /= 10;
if(remainder == 3)
ctr++;
}
return ctr;
}