In this Video We are going to solve questions using Function Method.
Solved Questions are -
1. Print Prime Numbers.
2. Print factorial of a Number.
" Homework "
1. Write a Program to print the Fibonacci sequence of a number using functions in C++ programming language.
2. Write a program using the C++ programming language to print all the prime numbers between two given numbers by creating a function.
3. Write a C++ program to find the Area and Perimeter of a Rectangle. by function.
4. Write a C++ program to find the area of any triangle using Heron's formula by function.
5. Write a C++ program to find the third angle of a triangleby function.
6. Write a C++ program to compute the total and average of four numbers by function.
7. Write a C++ program to input a single-digit number and print it in a rectangular form of 4 columns and 6 rows by function.
8. Write a program in C++ to check whether a number is positive, negative or zero by function.
9. Write a C++ program that takes a number as input and prints its multiplication table up to 10 by function.
*
*
*
Keep learning and keep growing 🚀
Do provide you feedback in the comments, we are going to make it best collectively.
21 сен 2024