We have been working very hard since 2009 to facilitate in your learning Read More. We can't keep up without your support. Donate Now.

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

Looking for Something at Site? Search Below

# 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.

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

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

Views: 190

### 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

## HELP SUPPORT

This is a member-supported website. Your contribution is greatly appreciated!

## Latest Activity

+ !♛NiNi ♛!+ joined +M.Tariq Malik's group

### PSYI619 Internship Report-Psychology

2 minutes ago
16 minutes ago
16 minutes ago
zohaib iftikhar posted a discussion

### ...*SUNO! IK RAZ KI BAT BATATA HON TUMHAIN...*

17 minutes ago
23 minutes ago
fad left a comment for Um-e-Abeeha
1 hour ago
1 hour ago

1

2

3