c++ program to find dot and cross product
This post shows you how to code a basic program in cpp that can calculate the dot and cross product of two vectors. Cpp program to find the Dot and Cross product of two vectors Assume that there are two…
This post shows you how to code a basic program in cpp that can calculate the dot and cross product of two vectors. Cpp program to find the Dot and Cross product of two vectors Assume that there are two…
Program to find the steps in order to attack enemies Game development requires a lot of mathematics, physics, and algorithms, so to practice with CPP in a fun way it can be helpful that you solve problems related to the…
Program to implement a 3D vector and a 3X3 matrix struct in c/c++ 3d Vector Structure the following structure describes a vector it has two constructor definition one Is default and the second one takes 3 floating-point values to assign…
What is the Fibonacci series and how to program it in C++? Fibonacci sequence By definition, the first two elements of the Fibonacci sequence are 0 and 1 and each next element is the sum of the previous two elements.…
to find factorial of a number The calculation of factorial in programming is also an example of recursion. But the recursion isn’t memory efficient if you don’t care about this, It is a choice to save time. The factorial of…
Making a calculator project in java [2020] In this post, I am gonna tell you how can you create a calculator in java, our calc program will support every mathematical expression from user input, such as 3+5*5(7+9)^ 9. Making Strategies to…
Get the last element from an Array, c++ code #include < iostream > #include < vector > int main() { /** * first find the size of an array using sizeof() * * size of an array, s = sizeof(array)…
how to detect the win of tic tac toe game? In this post I’m gonna tell you tic tac toe winning logic you will know the algorithm that is simple and clear you can implement it in any programming language…
What is a Programming Language? In this post, I’ll tell you what exactly is the programing language? Maybe you are learning one of the languages like c, c++, java, etc, or maybe going to start with one as a beginner.…
INFIX POSTFIX AND PREFIX Infix notation: you already know this form of mathematical expression when the operator comes between the operands, for instance, a + b. Prefix notation: In the case of preFix, the operator comes before its operands as +…