Question: A C program which calls a function to ask users to enter three integers. Add three functions which enable the program to do the following

A C program which calls a function to ask users to enter three integers. Add three functions which enable the program to do the following things

(a)add a function geteven() to display the even numbers from three integers.

(b)add a function getcount() to find the number of digits in a number.

(c)add a function getreverse() to reverse a string.

the original code is shown in the picture.

A C program which calls a function to ask users to enter

cl test.c include int getint (void); /*It prompts user to enter an integer, which it returns*/ /* Main program*/ int main (void) { int x; x = getInt ( ) ; printf("The number entered is %d ", x); int getint (void) int a; printf ("Please enter an integer > "); scanf("sd", &a); return (a)

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!