A control flow graph to represent the method Fun1 using folloeing source code is here
if (number <0 || digit <0)
return -1
digitcount = 0
while (number >0)
if (number % 10)==digit)
digitcount++
number /=10
return digitcount
When a programmer creates programming statements using a text editor or a visual programming tool, they are typically saved in a file and are referred to as source code. When the source code is combined with a C compiler, an output file known as an object file is created.
Learn more about source code here:
https://brainly.com/question/12951057
#SPJ4