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

www.vustudents.ning.com

 www.bit.ly/vucodes + Link For Assignments, GDBs & Online Quizzes Solution www.bit.ly/papersvu + Link For Past Papers, Solved MCQs, Short Notes & More

Dear Students! Share your Assignments / GDBs / Quizzes files as you receive in your LMS, So it can be discussed/solved timely. Add Discussion

# TDB IS OPENED FROM 9TH DECEMBER TO 16TH DECEMBER,,

tdb is team discussion board... in this section, a question will give you from your teacher and you should give answer in the given time...

here is first tdb.

+ 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?

Views: 160

.

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

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

### Replies to This Discussion

First TDB will start on Monday, December 09, 2013, to Monday, 16h December, 2013. You should be well prepared for lectures 1 – 19 in order to participate in this TDB. The following topics will be covered:

Variables

Data Types

Arithmetic Operators

Precedence of Operators

Conditional structures (if/else)

Loops

Functions

Arrays

File handling

Character Function

We strongly recommend you to practice all the example programs of the mentioned topics in the handouts.

Sample Output

Enter first value: 2

Enter second value: 3

Enter operator: +

Do you want to continue (y/n): y

Enter first value: 4

Enter second value: 5

Enter operator: *

Multiplication = 20

Do you want to continue (y/n): n

Press any key to continue . . .

#include main()

{

int a,b,d;

char c,e;

do

{  cout"Enter first value:";

cin>>a;

cout"Enter second value:";

cin>>b;

cout"Enter operator:";

cin>>c;

switch(c)

{      case'+':

d=a+b;

cout"do="" you="" want="" to="" continue="" (y="" n):"; =""

cin="">>e;

break;

case'-':

d=a-b;

cout"subtraction = "d"\n";    =""  cout"do="" you="" want="" to="" continue="" (y="" n):"; =""  cin="">>e;

break;

case'*':

d=a*b;

cout"Multiplication = "d"\n";    =""

cout"do="" you="" want="" to="" continue="" (y="" n):"; =""

cin="">>e;

break;                                   }}

while(e=='y'||e=='Y');

goto aa;                                                     system("pause");      }

TDB is non graded activity right Tariq bhai?

...

Aurora  email & cell no sharing is not allowed at the site..thanks for understanding

## Latest Activity

24 seconds ago
+ M.Tariq Malik liked B FOR FAZAL's discussion quiz no 1 cs 302
7 minutes ago
B FOR FAZAL's discussion was featured

### quiz no 1 cs 302

7 minutes ago
Waqas Rasool Mughal joined + M.Tariq Malik's group

### CS201 Introduction to Programming

15 minutes ago
Abeer updated their profile
19 minutes ago
khaaniii and Hamza are now friends
23 minutes ago
31 minutes ago
31 minutes ago
madi ali joined + M.Tariq Malik's group

### MTH401 Differential Equations

31 minutes ago
35 minutes ago
Areeha Chuhdary commented on Isha Chuhdary's blog post Moka
36 minutes ago

1

2

3