Posts

Create a class “CString” to represent a string to concatenate and compare two strings also add two matrix(3x3) using Operator Overloading.

Image
   Create a class “CString” to represent a string (Hint: Check Book Chapter Examples)        a) Overload the + operator to concatenate two strings.     b) = = to compare 2 strings. Answer: #include "stdafx.h" #include "iostream" #include "conio.h" #include "stdio.h" #include "string.h"   using namespace std; class CString { private :        char s[20]; public :        void input()        {        cout << "Enter String......" << endl;        cin.getline(s, 20);        }        void output()        {               cout << "String is :" <<s << endl;        }        CString operator +( CString s0 )        {               CString temp;               strcpy(temp.s,s);               strcat(temp.s, s0 .s);               return temp;        }        int operator ==( CString s3 )        {               if (strlen( s

How can we make our presentation attractive? With Example.

Image
  How can we make our presentation attractive?  Use all the important techniques regarding oral presentation skills and prepare the material for a speech on “awareness raising for fighting against COVID-19 pandemic”.   To make our presentation attractive user the following tips: Vary the speed & tone of your voice to keep your voice interesting to listen to. Project your voice to be easily heard and to show confidence in what you are saying. Pause to gain attention and allow students the opportunity to digest information. Maintain eye contact with the audience and stand up straight to project confidence. Smile to communicate that you value what you are saying. Use movement to convey energy but avoid excessive gesturing because it can divert attention from your message. Project excitement and energy to capture your audience’s attention.  Slide presentations are useful for organizing a variety of visual, audio or