some c++ programs

Embed Size (px)

DESCRIPTION

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

Citation preview

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