some c++ programs

Upload: anurag12107010

Post on 09-Oct-2015

14 views

Category:

Documents


0 download

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