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

CS201 Introduction to Programming

Information

CS201 Introduction to Programming

CS201 Introduction to Programming.Download/upload Video Lectures, Handouts, Helping Materials, Assignments Solution, Online Quizzes, GDB, Past Papers, Solved Papers and more….

Members: 2294
Latest Activity: on Wednesday

Discussion Forum

CS201 Viva Questions Answers Spring 2019

Started by + M.Tariq Malik. Last reply by 11elqxqr83wiz Aug 2. 12 Replies

cs201 assignment no 3 solution 2019

Started by + ! ! ! ! ! !blaire. Last reply by Usman Khan Jul 13. 13 Replies

cs201 assignment no 3 solution 2019

Started by + ! ! ! ! ! !blaire Jul 7. 0 Replies

current mid term question required please help me

Started by kashif ali. Last reply by + M.Tariq Malik Jun 17. 1 Reply

I need cs201 Mid Term Papers

Started by + !! ATHER. Last reply by Junaid Ahmed May 26. 2 Replies

C++ Program error solution.

Started by Usman Khan. Last reply by Usman Khan May 21. 3 Replies

CS201

Started by Honey. Last reply by Honey Dec 24, 2018. 13 Replies

Learn C++ and C language programming in easiest way

Started by M. Kashif Mughal. Last reply by 0cpxij0rwqz2c Nov 18, 2018. 4 Replies

CS 201 Books required

Started by Kash G. Bhattti Oct 4, 2018. 0 Replies

Comment Wall

Comment

You need to be a member of CS201 Introduction to Programming to add comments!

Comment by ZNSK on November 20, 2017 at 3:55pm
Mujhe belkul bhi nai saamjha ari programing ki.koi treqa hai k samjh ajy ye?
Comment by ▓▒░Farrukh░▒▓ on November 18, 2017 at 1:06am

You need a full code or want help in learning some aspects of assignment?

Comment by ZNSK on November 17, 2017 at 10:00pm
Cs 201 ki 2nd Assignment k lye help kary ga koi .please
Comment by Waqar Mustafa on May 3, 2017 at 12:25am

CS-201 fIRST ASSIGNMENT

#include <iostream>

using namespace std;
bool check_prime(int n);
int main()
{
   cout "Waqar Mustafa Assignment of CS201 ,Student ID:mc170202232 " endl;
   int prime_numbers[100]={};
   init:
   double sum=0;
   int lower_limit=0;
   int upper_limit=0;
   cout "Enter Lower Limit:" endl;
   cin >> lower_limit;
   cout "Enter Upper Limit:" endl;
   cin >> upper_limit;
   
   if(lower_limit>upper_limit){
       cout"lower number can't be greater than upper number"endl;
       goto init;
   }
   
   
   if(lower_limit<2){
       cout"Lower Limit should not be less then 2"endl;
       goto init;
   }
   
   int count_prime=0;
   for(int i=lower_limit;i<upper_limit;i++){
       if(check_prime(i)==true){
            prime_numbers[count_prime]=i;
            count_prime++;
            //cout i"\t";
       }
   }
   cout"Prime Numbers :";
   for(int j=0;j<count_prime;j++){
      coutprime_numbers[j]"\t";
      sum+=prime_numbers[j];
   }
   coutendl;
   
   cout "Sum of Prime numbers ="sumendl;
   cout" Total Prime Numbers Count ="count_primeendl;
   return 0;
}

bool check_prime(int num) {
    for (int i = num - 1; i > 1; i--) {
        if ((num % i) == 0)
            return false;
    }
    return true;
}

Comment by Halima Sadia on April 11, 2017 at 4:03pm

Aoa. KOI MCS first semester Spring 2017 ka student hay to please send me massage in inbox.

Comment by Muhammad Rehan Khan on April 7, 2017 at 5:00pm

Aoa. KOI BSSE first semester 2017 ka student hay to please send me massage in inbox.

Comment by Syed Muhammad Faraz on February 12, 2017 at 2:00pm

Skype is not working tommorrw is viva  its a server problrm

Comment by Abdul Samad on February 8, 2017 at 2:57pm

Mera hogia hai abhi hua hai

Comment by Choco on February 8, 2017 at 2:40pm

kis kis ka viva ho geya hy plz ans me or kia kia pocha ap say teacher nay

Comment by Muhammad Talha on January 16, 2017 at 6:20pm
dosto koi assignment 3 k program k correct code send kray please help me.
 

Members (2294)

 
 
 

Latest Activity

+ !! SARAH posted a discussion
7 minutes ago
+ ! ! ! ! ᎠixieᎠuຮt꧂ liked + ! ! ! ! ! !blaire's blog post Lets Make .....................Tasbeeh
3 hours ago
+ ! ! ! ! ᎠixieᎠuຮt꧂ liked ++"S.M.TALHA"++'s blog post کی جاناں میں کون
3 hours ago
Shine--Ex-VUStudent liked 21 October's discussion poetry
3 hours ago
Esha mirza updated their profile
4 hours ago
+ ՏhehαrZααD + liked 21 October's discussion poetry
4 hours ago
21 October posted discussions
4 hours ago
21 October posted a status
"میرؔ کے مانند اکثر زیست کرتا تھا فرازؔ سلمان خان تھا تو وہ دیوانہ سا شاعر مگر اچھا لگا"
4 hours ago
21 October posted a status
"اپنی اپنی چاہتیں ہیں لوگ اب جو بھی کہیں اک پری پیکر کو اک آشفتہ سر اچھا لگا"
4 hours ago
21 October posted a status
"ہم بھی قائل ہیں وفا میں استواری کے مگر کوئی پوچھے کون کس کو عمر بھر اچھا لگا"
4 hours ago
+++STUDENT+++ posted discussions
4 hours ago
21 October posted a status
"کوئی مقتل میں نہ پہنچا کون ظالم تھا جسے تیغ قاتل سے زیادہ اپنا سر اچھا لگا"
4 hours ago
21 October posted a status
"باغباں گلچیں کو چاہے جو کہے ہم کو تو پھول شاخ سے بڑھ کر کف دل دار پر اچھا لگا"
4 hours ago
21 October posted a status
"ہر طرح کی بے سر و سامانیوں کے باوجود آج وہ آیا تو مجھ کو اپنا گھر اچھا لگا"
4 hours ago
21 October posted a status
"گفتگو اچھی لگی ذوق نظر اچھا لگا مدتوں کے بعد کوئی ہم سفر اچھا لگا"
4 hours ago
BIA liked BIA's discussion Khud ki qadar karain....
4 hours ago
BIA liked BIA's discussion if u r grateful, I will give u more.
4 hours ago
21 October posted a status
"دل کا دکھ جانا تو دل کا مسئلہ ہے پر ہمیں اس کا ہنس دینا ہمارے حال پر اچھا لگا"
4 hours ago
21 October posted a status
"گفتگو اچھی لگی ذوق نظر اچھا لگا مدتوں کے بعد کوئی ہم سفر اچھا لگا"
4 hours ago
+ M.Tariq Malik replied to BIA's discussion Chand p pehla qadam ks ny rakha:P:P
4 hours ago

Today Top Members 

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

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