Question: Plz in c language Write a C program that reads a group of positive integers, then it finds and prints the sum of all third

 Plz in c language Write a C program that reads a

Plz in c language

Write a C program that reads a group of positive integers, then it finds and prints the sum of all third digits for each of the entered integers. your program should include a function called sum_third_digits which takes the integer and return the sum of the third digits in the taken number. Your program should stop when -1 is entered. Sample: Enter the integer number: 123456789 The output is = 12 Enter the integer number: 57523213 The output is = 7 Enter the integer numbers - 1 Stopped Note : 12 calculateted from (7+4+1), and 7 calculated from (2+5) 1 AY B E 6.2

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!