Question: Write a function named controlNumber which takes a number and returns 1 if all the digits of the number are equal and 0 otherwise. Use

Write a function named controlNumber which takes a number and returns 1 if all the digits of the number are equal and 0 otherwise. Use that function in your program to find out the numbers in array A having all digits equal and not equal. Your program should produce output as given below.

Define array A as given;

A = [233, 45, 777, 81, 999999, 36, 90, 88, 11, 61]

C language, please ASAP!!

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!