some c++ programs

download some c++ programs

of 52

description

this doc contains some basic c++ programs that every beginner should know

Transcript of some c++ programs

1. Write a C++ Program to enter velocity, acceleration and time and print final velocity using the formula : v = u + a * t.#include #include void main(){clrscr();int v,u,a,t;cout u>>a>>t;v=u+a*t;cout