We are here with you hands in hands to facilitate your learning & don't appreciate the idea of copying or replicating solutions. Read More>>

Looking For Something at vustudents.ning.com? Click Here to Search

www.bit.ly/vucodes

+ Link For Assignments, GDBs & Online Quizzes Solution

www.bit.ly/papersvu

+ Link For Past Papers, Solved MCQs, Short Notes & More

CS602 – COMPUTER GRAPHICS – ASSIGNMENT 1 SPRING 2019 – DUE DATE 6 TO 12/5/2019

 

Solution Discuss 

+ How to Follow the New Added Discussions at Your Mail Address?

+ How to Join Subject Study Groups & Get Helping Material?

+ How to become Top Reputation, Angels, Intellectual, Featured Members & Moderators?

+ VU Students Reserves The Right to Delete Your Profile, If?


See Your Saved Posts Timeline

Views: 2656

.

+ http://bit.ly/vucodes (Link for Assignments, GDBs & Online Quizzes Solution)

+ http://bit.ly/papersvu (Link for Past Papers, Solved MCQs, Short Notes & More)

+ Click Here to Search (Looking For something at vustudents.ning.com?)

+ Click Here To Join (Our facebook study Group)

Attachments:

Replies to This Discussion

plz help why is not run

Attachments:

u need screen shot then email

CS602-ASSIGNMENT-1-SOLUTION-SPRING-2019

Attachments:

Tariq Malik this solution is right ...

M.Tariq Malik what is difference between .dev and .cpp file. Tell me how to submit this assignment.

#include <stdio.h>
#include <stdlib.h>
#include <conio.h>
#include <graphics.h>
#include <math.h>
int main()
{
int gd=DETECT, gm;
initgraph(&gd,&gm,(char*)" ");
setcolor(WHITE);

 

settextstyle(DEFAULT_FONT, HORIZ_DIR, 2);
outtextxy(10, 20, (char*)"BC123456789");

 

// Modify your code here

int x1=150;
int y1=100;
int x2=450;
int y2=500;

setcolor(YELLOW);
rectangle(x1,y1,x2,y2);

 

setfillstyle(SOLID_FILL,MAGENTA);
floodfill(151,101,YELLOW);

 

line(x1,y1+10,x2,y1+10);
line(x1,y1+20,x2,y1+20);

 

for (int p=130; p<=280; p=p+10, x2=x2-10)
{
line(x1,p,x2,p);

}

 


int g=460;
for (int r=160; r<=300; r=r+10, g=g-10)
{
int f=290;

 

line(r, f, r, g);
}

 

int k=140;
for(int j=440; j>=290; j=j-10, k=k+10)
{
int i= 310;
line(j,k,j,i);
}
for (int q=470; q>=320; q=q-10, x1=x1+10)
{
int x2=450;
line(x1,q,x2,q);
}

 


line(150,490,450,490);
line(150,480,450,480);

 

getch();
closegraph();

 

}

idea sol attached

Attachments:

Please help me  during compilation and execution it shows these errors :(

Add  Graphics  in  your  dev c++.

RSS

Latest Activity

Nissa joined + M.Tariq Malik's group
5 minutes ago
Sameer Babar and mubashir rehman are now friends
7 minutes ago
+ ! ! ! ! ! ! ! ! ! AG liked + ! ! ! ! !HaFiZa TeHreeM FaTiMa's discussion AAJZI or IZZAT.................
15 minutes ago
+ ! ! ! ! ! ! ! ! ! AG liked + ! ! ! ! ! ! maho+++'s discussion WASEYAT RASOL PAK S.A.W.W
15 minutes ago
+ ! ! ! ! ! ! ! ! ! AG liked sayyad saqib hussain shah's discussion HRM 626 HANDOUTS REQUIRED PLS
15 minutes ago
+ ! ! ! ! ! ! ! ! ! AG liked + M.Tariq Malik's discussion For All Assignments, GDBs, Quizzes Solutions
15 minutes ago
+ ! ! ! ! ! ! ! ! ! AG liked DANI's discussion Quiz no 1 fall 2019 isl201
15 minutes ago
Ahmad Raza liked + M.Tariq Malik's discussion MGT201 Assignment No 01 Spring 2019 Solution & Discussion
1 hour ago
Ahmad Raza joined + M.Tariq Malik's group
1 hour ago
Sameer Babar joined + M.Tariq Malik's group
1 hour ago
DANI liked DANI's discussion Quiz no 1 fall 2019 isl201
1 hour ago
Ahmad Raza liked + M.Tariq Malik's group MGT201 Financial Management
1 hour ago
Dua zahra posted a photo
2 hours ago
IQ-Black Bird CodeHolic replied to + ! ! ! ! ! Iuuoɔǝut ! ! ! ! +'s discussion What is the importance of Virtual University degree in Pakistan?
2 hours ago
+ M.Tariq Malik replied to + M.Tariq Malik's discussion CS402 Assignment No 01 Fall 2019 Solution & Discussion Due Date: 15-11-2019 in the group CS402 Theory of Automata
2 hours ago
+ M.Tariq Malik replied to + M.Tariq Malik's discussion CS402 Assignment No 01 Fall 2019 Solution & Discussion Due Date: 15-11-2019 in the group CS402 Theory of Automata
2 hours ago
+ M.Tariq Malik replied to + M.Tariq Malik's discussion MGT301 Principles of Marketing Assignment No 01 Fall 2019 Solution & Discussion in the group MGT301 Principles of Marketing
2 hours ago
+ M.Tariq Malik replied to + M.Tariq Malik's discussion MGT603 Online Quiz No 01 Fall 2019 Solution Discussion in the group MGT603 Strategic Management
2 hours ago
+ M.Tariq Malik replied to + M.Tariq Malik's discussion MGT603 Online Quiz No 01 Fall 2019 Solution Discussion in the group MGT603 Strategic Management
2 hours ago
+ M.Tariq Malik liked + M.Tariq Malik's discussion MGT603 Online Quiz No 01 Fall 2019 Solution Discussion
2 hours ago

© 2019   Created by + M.Tariq Malik.   Powered by

Promote Us  |  Report an Issue  |  Privacy Policy  |  Terms of Service