Top Banner

of 52

some c++ programs

Oct 09, 2015

Download

Documents

Anurag12107010

this doc contains some basic c++ programs that every beginner should know
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
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