#c++
- Implement a class average . Include a constructor in it which will accept value of three variables from user #include <iostream> using namespace std; class Average { private: int num1, num2, num3; float avg; public: // Constructor to accept three va... 2
- Write program in C++ to display first 20 terms of Fibonacci Series Code : #include<iostream.h> #include<conio.h> void main() { int n1,n2,n,i; clrscr(); n1=0; n2=1; cout<<"Fibonacci series :"<<endl; cout<<n1<... 1
- Write a function in C++ that exchanges data using swap function to interchange the given two numbers . This is a practical question so will try to understand the concept , the question said us to use swap function This code is error free might... 1
- Write a program to input a month number of the year and display 5he corresponding month of year Code! #include<stdio.h> void main() int choise; printf("n enter the month number: "); scanf("%d",&choise); switch(choise) case 1: printf("Mo... 1