Question: C 1 2 - WAP to print line pattern Available from: Saturday, 1 3 May 2 0 2 3 , 2 : 2 6 PM
C WAP to print line pattern
Available from: Saturday, May : PM
Due date: Tuesday, May : AM
Requested files: templaate.c Download
Type of work: Individual work
Description :
Read total n number of pattern chars in a line number should be odd
Read number m of pattern char to be printed in the middle of line odd number
Print the line with two different pattern chars
Example Let's say two types of pattern chars $ and to be printed in a line. Total number of chars to be printed in a line are Three to be printed in middle of line.
Sample Execution :
Test case :
Enter n :
Enter m :
$$$$$$
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
