Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~266 People Reached
Favorite Forums
Favorite Tags
c++ x 4
Member Avatar for prateek_singh

//sample program for car:) #include<graphics.h> #include<conio.h> #include<dos.h> #include<stdlib.h> #include<process.h> void main() { int gd=DETECT,gm; initgraph(&gd,&gm,"c:\tc\bgi"); int c=12; setbkcolor(0); //setlinestyle(0,1,2); int t; while(1) { settextstyle(2,0,5); outtextxy(100,10,"Press L,H ,T,P"); outtextxy(100,30,"Press 1 for Quit"); as: setcolor(13); ellipse(380,127,20,152,130,35); //////////////////////////////rear////////////////////////// line(490,109,560,142); line(560,142,569,142); line(569,142,582,102); line(582,102,620,92); line(593,132,617,125); line(617,124,627,96); line(620,92,628,97); line(472,86,602,96); line(501,113,575,121); line(443,77,475,80); line(443,77,432,93); line(475,80,472,85); //setcolor(4); line(593,132,593,137); line(593,137,600,141); …

Member Avatar for Salem
0
170
Member Avatar for pop007

Hello all, I have done with this code Output : Enter n = 5 2+4+6+8+10 = 30 I compile with Turbo C++, version 3 here is my code [code] #include <iostream.h> #include <conio.h> void main() { clrscr(); int n, sum=0; cout<<"Enter n= "; cin>>n; for (int i=1; i<=n; i++) { …

Member Avatar for WaltP
0
96