Posts

Privacy Policy for Constitution of Nepal

Last updated:  01 September, 2024 Introduction Welcome to the "Constitution of Nepal" mobile application. This Privacy Policy explains how we collect, use, disclose, and safeguard your information when you use our application. Please read this privacy policy carefully. By using our app, you agree to the collection and use of information in accordance with this policy. Information Collection and Use We do not collect, store, or share any personal information when you use the "Constitution of Nepal" app. The app is designed to provide users with easy access to the Constitution of Nepal and related legal documents. All the information provided in the app is publicly available and sourced directly from the official website of the District Administration Office, Bhaktapur, Government of Nepal. Source of Information The content and resources used in this app are taken from the official website of the District Administration Office, Bhaktapur, Nepal. The specific URL where...

Privacy Policy for Noida Metro Fare

Privacy Policy Sangam Sharma built the Noida Metro Fare app as a Free app. This SERVICE is provided by Sangam Sharma at no cost and is intended for use as is. This page is used to inform visitors regarding my policies with the collection, use, and disclosure of Personal Information if anyone decided to use my Service. If you choose to use my Service, then you agree to the collection and use of information in relation to this policy. The Personal Information that I collect is used for providing and improving the Service. I will not use or share your information with anyone except as described in this Privacy Policy. The terms used in this Privacy Policy have the same meanings as...

Privacy Policy for NepBrain

Privacy Policy for NepBrain At NepBrain, accessible from NepBrain, one of our main priorities is the privacy of our visitors. This Privacy Policy document contains types of information that is collected and recorded by NepBrain and how we use it. If you have additional questions or require more information about our Privacy Policy, do not hesitate to contact us. This Privacy Policy applies only to our online activities and is valid for visitors to our website with regards to the information that they shared and/or collect in NepBrain. This policy is not applicable to any information collected offline or via channels other than this website. Our Privacy Policy was created with the help of the Free Privacy Policy Generator . Consent By using our website, you hereby consent to our Privacy Policy and agree to its terms. Information we collect We do not collect any of the user information. We just provide the app so that the users can ease their learning habit. ...

C++ Multiple Inheritance Example

  /*WAP according to the specification given below: a)Create a class Teacher with data member 't_id and subjects' and member function for reading and displaying data members. b)Create another class Staff with data members 's_id and position', and member function for reading and displaying data members. c)Derive a class Coordinator from Teacher and Staff and the class must have it's own data member 'department and member function for reading and displaying data memebers) d)Create a two object of Coordinator class and read and display their details. */ #include <iostream> using namespace std; class Teacher{ private:     int t_id;     string subject; public:     void readingTeacherData(){         cout<<"Enter the teacher\'s id :";         cin>>t_id;         cout<<"Enter the subject :";         cin>>subject;     }     void displ...

Calculating area of triangle and rectangle using multiple inheritance in C++

 #include <iostream> using namespace std; class Shape { protected: int l,b,a; public: void getData() { cout<<"Enter the value of l and b:"; cin>>l>>b; } }; class Triangle: public Shape{ public: void display(){ a=(l*b)/2; cout<<"Area of triangle:"<<a; } }; class Rectangle:public Shape{ public:     void display(){     a=l*b;     cout<<"Area of Rectangle:"<<a;     } }; int main() {     Rectangle rectangle;     Triangle triangle;     rectangle.getData();     triangle.getData();     rectangle.display();     cout<<endl;     triangle.display();     return 0; }

Check either a number is armstrong or not using constructor in C++

 #include <iostream> using namespace std; class Arm{ public:     int temp,sum=0,dig,originalNum;     Arm(int num){         originalNum=num;     while(originalNum!=0){     dig=originalNum%10;     sum+=dig*dig*dig;     originalNum=originalNum/10;     }     if(sum==num){         cout<<"This is armstrong number.";     } else{     cout<<"This is not armstrong number.";     }     } }; int main() {     int x;     cout<<"Enter the number: ";     cin>>x;     Arm arm(x);     return 0; }

Matrix Multiplication Using Pointer

Program   for   Product  of  Two   Matrices   #include<stdio.h>   int main(){          int matrix1[20][20],matrix2[20][20],product[20][20];          int *p1,*p2,*prod,m,n,p,q,d,e,f;          p1=matrix1;          p2=matrix2;          prod=product;          clrscr();          printf("\nEnter the size (no of rows and columns) for 1st matrix :\n");          scanf("%d%d",&m,&n);          printf("\nEnter the size (no of rows and columns) for 2nd matrix :\n");          scanf("%d%d",&p,&q);          if(n==p)         {          printf("\n Enter the 1st matrix elements : \n");          for(d=1;d...