www.vustudents.ning.com

We non-commercial site working hard since 2009 to facilitate learning Read More. We can't keep up without your support. Donate.

# CS201 Assignment 01 Spring 2021 Solution / Discussion Due Date: 20-05-2021

CS201 Assignment 01 Spring 2021 Solution / Discussion Due Date: 20-05-2021

Views: 1428

# CS201 Assignment 01 Spring 2021 Solution in PDF format

CS201-assignment-01-Solution-Spring-2021.pdf

Jazak Allah Khair <3

#cs201assignment1solution2021 #cs201assignmentsolution
CS201 Assignment 1 Solution Spring 2021 | CS201 Assignment Solution 2021

# CS201 Assignment 1 Solution Spring 2021

#CS201_Assignment #CS201_Assignment_1_solution #CS201_Assignment_1_solution_spring_2021
CS201 Assignment 1 solution || Spring 2021

CS201 Assignment 1 Solution Spring 2021 File

CS201 Assignment 1 Solution Spring 2021

# CS201 Assignment 1 Solution Spring 2021 By Maria Parveen |CS201 Assignment 1 Spring 2021|VU Learning

CS201 ASSIGNMNET NO 1-SP 2021

NAME:_________

ID:____________

#include <iostream>

using namespace std;

int main()

{

cout" "endl;

int x,y,Z;

x=2;

y=1;

Z = (x*x)+(2*y*x)-(x/y);

cout"After evaluation of given expression the value of z = "Zendl;

string ID = "BC";

int id1 = 190202640;

string name = "TEAM HADI(VU LAHORE) 03087122922";

int lastdigit;

int Gotnumber;

lastdigit = id1 % 10;

cout"--Last digit of VU ID is "lastdigitendl;

Gotnumber = Z + lastdigit;

string test;

int n = 1;

if ((lastdigit % 2) == 0)

{

test = "even";

cout"I got an "test" number "Gotnumberendl;

while (n <= Gotnumber)

{

cout"Iteration: "nendl;

cout"My name is "nameendl;

n++;

}

}

else

{

test = " odd";

cout"I got an "test" number "Gotnumberendl;

while(n <= Gotnumber)

{

cout"Iteration: "nendl;

cout"My VU ID is "id1endl;

n++;

}

}

return 0;

}

# CS201 Assignment No 1 Solution Spring 2021 Complete Correct Solved

1

2

3

4

5

## VIP Member Badge & Others

------------------------------------

## Latest Activity

Ammara Sabir posted a status
"aag the ibtidā-e-ishq meñ❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️ ham ab jo haiñ ḳhaak intihā hai ye"
1 hour ago
1 hour ago
Ammara Sabir posted a status
"Ab kr k famosh tu nashad kro gy❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️,,,,,,,,,pr hm jo na hon gy tu bht yad kro gy"
1 hour ago
Ammara Sabir liked 刀のの尺's discussion ˜”*°•.˜”*°• Badla •°*”˜.•°*”˜
1 hour ago

2 hours ago