Skip to content

My Code Partner

Blogs about Web Design, Web Development, Programming, Data Structures, and Machine Learning.

  • Home
  • Programming Languages
    • C++
    • Data Structure
  • Web Technologies
    • Web Designs
  • Machine Learning
  • About
    • About Us
    • Contact Us
    • Disclaimer
    • Privacy Policy
    • SiteMap

Month: April 2020

Posted on April 27, 2020October 17, 2020

maximum of three numbers

Write a program to find maximum of three numbers

Continue reading “maximum of three numbers”
Posted on April 27, 2020October 17, 2020

max of two numbers

Write a program to find maximum of two numbers.

Continue reading “max of two numbers”
Posted on April 27, 2020October 17, 2020

sizeof operator in C++

sizeof operator tells how much memory is used by the primitive data types. The C++ program uses sizeof operator to find the memory of primitive data types. The primitive data types are char, short, int, long, etc.

Continue reading “sizeof operator in C++”
Posted on April 25, 2020October 17, 2020

Program to convert Celsius to Fahrenheit

Write a program that convert inches to centimeters. For, example, if the input is 34 degree celsius, it should return 93.2 fahrenheit.

Continue reading “Program to convert Celsius to Fahrenheit”
Posted on April 24, 2020October 17, 2020

Program to find roots of quadratic equations

This program uses quadratic formula to find the roots of the quadratic equations.

Continue reading “Program to find roots of quadratic equations”
Posted on April 24, 2020October 17, 2020

C++ Floating Type Program

C++ has three different float types : float, double and long double. This program shows the implementation of these data types. In the next program, operations are performed on these float data types.

Continue reading “C++ Floating Type Program”
Posted on April 24, 2020October 17, 2020

C++ Character Type Program

Character type variables have the data type char. And the value is assigned using the apostrophe(‘). You can use type cast (int) to get the integral value of the character. Character is an integer type. So when you type cast it, you get the corresponding value as ASCII value of literal.

Continue reading “C++ Character Type Program”
Posted on April 23, 2020October 17, 2020

C++ Boolean Type Program

Boolean type returns 1 or 0. If the value if true it returns 1 else it returns 0. The boolean variable can have true or false.

Continue reading “C++ Boolean Type Program”
Posted on April 23, 2020October 17, 2020

C++ Program using Increment Operator

The values of variables can be incremented using ++ operator. And the value can be decremented using — operator. You can either pre-increment or post-increment the values.

Continue reading “C++ Program using Increment Operator”
Posted on April 23, 2020October 17, 2020

C++ program to add two numbers

Write a program to add two numbers x and y. Store the result in a variable z.

Continue reading “C++ program to add two numbers”

Posts navigation

Previous page Page 1 Page 2 Page 3 Next page

Categories

  • C++ (78)
    • C++ Course (3)
  • Data Structure (3)
  • Machine Learning (1)
  • Mathematics (1)
    • Laplace Transformation (1)
  • Programming Languages (1)
  • Web Technologies (18)
    • Web Designs (2)

Recent Posts

  • Login pages using HTML, CSS, and Bootstrap
  • Road Map for Android App Development
  • Fibonacci numbers in a star pattern
  • Team Member page design | Web Design
  • Laplace Transformation Lecture 1

Pages

  • About Us
  • Contact Us
  • Disclaimer
  • Privacy Policy
Privacy Policy Proudly powered by WordPress