@@ -83,11 +83,9 @@ For example, if the user enters 10, the program will output "Positive". If the
8383user enters -5, the program will output "Negative". And if the user enters 0,
8484the program will output "Zero".
8585
86- * output*
87- 88- ![ output of basic questions q1] ( outputs/basic_positive_negative.png )
89- ---
86+ _ output_
9087
88+ ## ![ output of basic questions q1] ( outputs/basic_positive_negative.png )
9189
9290### 2. WAP that reads the principal, rate of interest and number of years and find the simple interest and amount.
9391
@@ -120,6 +118,10 @@ will output "The simple interest is: 100.00, and amount is 1100.00." This means
120118that the simple interest is 100.00 and the total amount after 2 years is
1211191100.00.
122120
121+ #### Output
122+ 123+ ![ output_of_basic_simple_interest] ( outputs/basic_simple_interest.png )
124+ 123125### 3. WAP to read the radius of circle and display its area.
124126
125127This is a C program to calculate the area of a circle. It takes the radius of
@@ -134,6 +136,10 @@ display the output up to 2 decimal places.
134136
135137Finally, the program returns 0 indicating successful execution of the program.
136138
139+ #### Output
140+ 141+ ![ output_of_basic_area_of_circle] ( outputs/basic_area_of_circle.png )
142+ 137143### 4. WAP that reads three numbers and displays the largest among them.
138144
139145This is a C program that reads three integers from the user and then finds the
@@ -266,6 +272,10 @@ Here's how it works:
266272
2672735 . The main function returns 0, indicating successful execution.
268274
275+ #### Output
276+ 277+ ![ output_of_basic_product_of_n_numbers] ( outputs/basic_product_of_n_numbers.png )
278+ 269279## Array Questions
270280
271281### 1. WAP to input 10 numbers and display the largest and smallest number.
@@ -474,6 +484,10 @@ and outputs the returned value as the reversed number.
474484Overall, this program demonstrates the use of a function to perform a specific
475485task, in this case, reversing a given number.
476486
487+ #### Output
488+ 489+ ![ output_of_user_defined_reverse_of_number] ( outputs/user_defined_reverse_of_number.png )
490+ 477491### 2. WAP to find the sum of 'n' integer numbers using the function.
478492
479493This program calculates the sum of 'n' integer numbers, where 'n' is the input
0 commit comments