some c++ programs

Post on 09-Oct-2015

14 views 0 download

Tags:

description

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

transcript

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