3. Writing Simple C program: (Problem Solving) (a) Write a C program to read 12 numbers from the user and then store them in an array. Now replace the integer numbers by 1 which numbers are greater than 6 and less than 22. And replace the fraction numbers by -1. Finally, print all the numbers stored in the array in reverse order and summation after the replacement of numbers.
(b) Write a C program to find the following pattern from the given string. Check sample input-output to understand the pattern.
Sample input
106 29 124 11 13S 100 20 105 22 5.3
Talle J1
Satnple Odp
-1 22.11 100-11412961
162
Sample Input
achotdoWQ121*&&*@pwl
Answers
Answered by
0
Sorry buddy
I am not a computer student I am a commerce student
I am not a computer student I am a commerce student
Similar questions
Science,
2 months ago
Science,
2 months ago
Computer Science,
2 months ago
Computer Science,
4 months ago
Math,
4 months ago
Science,
10 months ago
Science,
10 months ago
Physics,
10 months ago