Skip to content
tejsumeru-logo

Tejsumeru

Thoughts Become Reality
  • Home
  • Tutorials
    • Java
    • C language
    • Python
      • SciPy
    • C++ Language
    • PHP
    • Data Structure
    • Kotlin
    • Go Lang
  • Interview Quetions
  • About Us
tejsumeru-logo

Tejsumeru

Thoughts Become Reality
  • Home
  • Tutorials
    • Java
    • C language
    • Python
      • SciPy
    • C++ Language
    • PHP
    • Data Structure
    • Kotlin
    • Go Lang
  • Interview Quetions
  • About Us

Swap Two Numbers

  • tejsumeru.12@gmail.com tejsumeru.12@gmail.com
  • C++ Language

Swap means exchange the value of two variable. There is four different method. Using Temporary Variable Without Using Temporary Variable Using Bitwise Operator Using Multiplication And Division Using Temporary Variable #include <iostream> using namespace std; int main() { int a = 31, b = 12,… Read More »Swap Two Numbers

Find Quotient and Remainder

  • tejsumeru.12@gmail.com tejsumeru.12@gmail.com
  • C++ Language

In this program,it will take  two integers (divisor and dividend) and find the quotient and remainder. To compute quotient and remainder, both divisor and dividend should be integers. #include <iostream> using namespace std; int main() { int divisor, dividend, quotient, remainder; cout << “Enter dividend:… Read More »Find Quotient and Remainder

Add Two Numbers

  • tejsumeru.12@gmail.com tejsumeru.12@gmail.com
  • C++ Language

In this program, two integer values taken from user and then sum of this values are stored in another variavle and then print it. #include <iostream> using namespace std; int main() { int firstNo, secondNo, sumOfTwoNo; cout << “Enter two integer values: “; cin >>… Read More »Add Two Numbers

Display Number Entered By User In C++

  • tejsumeru.12@gmail.com tejsumeru.12@gmail.com
  • C++ Language

cin>> is used to take value from the user. cout<< is used to print value. #include <iostream> using namespace std; int main() { int no; cout << “Enter an integer value: “; cin >> no; cout << “You entered ” << no; return 0; }… Read More »Display Number Entered By User In C++

Printing Hello World In C++

  • tejsumeru.12@gmail.com tejsumeru.12@gmail.com
  • C++ Language

Learning C++ programming can be simplified into: Writing your program in a text-editor and saving it with correct extension(.CPP, .C, .CP) Compiling your program using a compiler or online IDE The “Hello World!” program is the first step towards learning any programming language and also… Read More »Printing Hello World In C++

  • « Previous
  • 1
  • 2

Recent Post

  • Step-by-Step Guide to Installing and Configuring Java SpringBoot
  • Setting up SpringBoot for Java Development: Tips, Tricks, and Best Practices
  • Integrating ChatGPT API into Your Android App: A Guide to Building Cutting-Edge Chatbots
  • What is Android Jetpack Compose: An Introduction to Google’s UI Toolkit
  • Efficient Java Microservices with Quarkus: A Guide to Setting Up the Framework




Copyright © 2018 Tejsumeru