Computer Science, asked by shirisha23308, 6 months ago

Write a C function without using if-else construct that does the following. It accepts a sequence of positive integers between 1 and 9 both inclusive from the keyboard. The program will stop accepting input once an integer outside the range is entered. The program will finish by printing the total number multiples of 3 and total number of even integers entered. Test data and expected output: Enter integers between 1 & 9 both inclusive, outside range to stop Enter integer :0 Total no of even integer entered is 0 Total no of multiples of 3 entered is 0 Enter integers between 1 & 9 both inclusive, outside range to stop Enter integer :2 Enter integer :4 Enter integer :6 Enter integer :9 Enter integer :3 Enter integer :1 Enter integer :2 Enter integer :0 Total no of even integer entered is 4 Total no of multiples of 3 entered is 3

Answers

Answered by dastageernaykodi9
1

Answer:

the code f7nctions for the above is will be as follows

1 .start keyboard and make it as visible and good for you ro suitable raw data in tge form of given conponents

plzzz subscribe my channel eagle max studio

plzzz plzz

pzlzzz

plzz if u want more answers in instant time plz follow me in youtube

eagle max studio

Similar questions