This program takes a user input number, cubes it using the formula a*a*a, and displays the cubed value. The user is prompted to enter a value for variable a, that value is cubed and stored in variable cb, and finally cb is output on the screen.
Código para Latch físico: Touch_calibrate.pyChema Alonso
Código en Python para el hack de controlar un cerrojo con un Latch y una conexión en Raspbery Pi. Más información aquí: http://blogthinkbig.com/latch-cerrojo/
I've uploaded solutions of the C++ Programs Manual i had uploaded before. See that manual and find your solutions in my uploads.
For my c++ programming tutorials. Visit http://uolbscs.com/my-tutorials/
OR my website at www.uolbscs.com
I've uploaded solutions of the C++ Programs Manual i had uploaded before. See that manual and find your solutions in my uploads.
For my c++ programming tutorials. Visit http://uolbscs.com/my-tutorials/
OR my website at www.uolbscs.com
- To translate an object by a vector v, each homogeneous vector p (written in homogeneous coordinates) would need to be multiplied by thistranslation matrix
Código para Latch físico: Touch_calibrate.pyChema Alonso
Código en Python para el hack de controlar un cerrojo con un Latch y una conexión en Raspbery Pi. Más información aquí: http://blogthinkbig.com/latch-cerrojo/
I've uploaded solutions of the C++ Programs Manual i had uploaded before. See that manual and find your solutions in my uploads.
For my c++ programming tutorials. Visit http://uolbscs.com/my-tutorials/
OR my website at www.uolbscs.com
I've uploaded solutions of the C++ Programs Manual i had uploaded before. See that manual and find your solutions in my uploads.
For my c++ programming tutorials. Visit http://uolbscs.com/my-tutorials/
OR my website at www.uolbscs.com
- To translate an object by a vector v, each homogeneous vector p (written in homogeneous coordinates) would need to be multiplied by thistranslation matrix
1. Practical No.-2
Aim
: To demonstrate the program for finding
cube.
Source code :
#include<iostream.h>
#include<conio.h>
void main()
{
int a, cb;
cout <<”enter the value of a”;
cin >>a;
cb=a*a*a;
cout<<”cb”<<cb;
}
Output
:
enter the value of a = 3
cb = 27