The program illustrates the use of modulo operator.
The modulo operator (%) returns the remainder of a division.
<u>Take for instance: </u>
<em>The result of 4 % 3 is 1, because when 4 is divided by 3, the remainder is 1</em>
So, the program in C is as follows, where comments are used to explain each line
#include <stdio.h>
int main(){
    //This declares all variables as integer
    long phoneNumber, prefix,areaNum, lineNum;
    //This gets input for phoneNumber
    scanf("%ld", &phoneNumber); 
    //This prints the  input for phoneNumber
    printf("%ld", phoneNumber);
    
    //This calculates the area code
    areaNum = phoneNumber/10000000;
    //This calculates the prefix
    prefix = (phoneNumber/10000)%1000;
    //This calculates the line numbers
    lineNum = phoneNumber%10000;
    
#This prints the required area code
    printf("\n(%ld)%ld-%ld\n", areaNum, prefix, lineNum); 
    return 0;
    
}
At the end of the program, the phone number breakdown is printed
See attachment for sample run
Read more about C programs at:
brainly.com/question/13219435