diff --git a/outputs/basic_area_of_circle.png b/outputs/basic_area_of_circle.png new file mode 100644 index 0000000..7199ded Binary files /dev/null and b/outputs/basic_area_of_circle.png differ diff --git a/outputs/basic_product_of_n_numbers.png b/outputs/basic_product_of_n_numbers.png new file mode 100644 index 0000000..014b389 Binary files /dev/null and b/outputs/basic_product_of_n_numbers.png differ diff --git a/outputs/basic_simple_interest.png b/outputs/basic_simple_interest.png new file mode 100644 index 0000000..a0c51e7 Binary files /dev/null and b/outputs/basic_simple_interest.png differ diff --git a/outputs/user_defined_reverse_of_number.png b/outputs/user_defined_reverse_of_number.png new file mode 100644 index 0000000..77ae183 Binary files /dev/null and b/outputs/user_defined_reverse_of_number.png differ diff --git a/readme.md b/readme.md index 6dfcc6d..663403f 100644 --- a/readme.md +++ b/readme.md @@ -83,11 +83,9 @@ For example, if the user enters 10, the program will output "Positive". If the user enters -5, the program will output "Negative". And if the user enters 0, the program will output "Zero". -*output* - -![output of basic questions q1](outputs/basic_positive_negative.png) ---- +_output_ +## ![output of basic questions q1](outputs/basic_positive_negative.png) ### 2. WAP that reads the principal, rate of interest and number of years and find the simple interest and amount. @@ -120,6 +118,10 @@ will output "The simple interest is: 100.00, and amount is 1100.00." This means that the simple interest is 100.00 and the total amount after 2 years is 1100.00. +#### Output + +![output_of_basic_simple_interest](outputs/basic_simple_interest.png) + ### 3. WAP to read the radius of circle and display its area. This 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. Finally, the program returns 0 indicating successful execution of the program. +#### Output + +![output_of_basic_area_of_circle](outputs/basic_area_of_circle.png) + ### 4. WAP that reads three numbers and displays the largest among them. This is a C program that reads three integers from the user and then finds the @@ -266,6 +272,10 @@ Here's how it works: 5. The main function returns 0, indicating successful execution. +#### Output + +![output_of_basic_product_of_n_numbers](outputs/basic_product_of_n_numbers.png) + ## Array Questions ### 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. Overall, this program demonstrates the use of a function to perform a specific task, in this case, reversing a given number. +#### Output + +![output_of_user_defined_reverse_of_number](outputs/user_defined_reverse_of_number.png) + ### 2. WAP to find the sum of 'n' integer numbers using the function. This program calculates the sum of 'n' integer numbers, where 'n' is the input