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

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: 2248
Latest Activity: 12 hours ago

Discussion Forum

cs201

Started by inamulhaq Mar 27. 0 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

CS201 GDB

Started by Ahmer Rajpoot. Last reply by aftab Aug 13, 2018. 1 Reply

cs201

Started by niceperson Aug 12, 2018. 0 Replies

cs201

Started by niceperson Aug 12, 2018. 0 Replies

CS201 GDB Solution Spring 2018

Started by + ! ! RαʂGυʅʅα. Last reply by Maan Ali Aug 13, 2018. 8 Replies

first assignment marks

Started by saad sarwar. Last reply by MSc MATHS Jun 11, 2018. 1 Reply

CS201 Assignment # 2 Solution Download and Enjoy and Dua

Started by Munir Khan. Last reply by + M.Tariq Malik May 27, 2018. 10 Replies

CS201 Quiz#1 Dated 8 feb - 9 feb 2018

Started by shifa arshad. Last reply by sajid ali Feb 9, 2018. 4 Replies

Comment Wall

Comment

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

Comment by inamulhaq on March 27, 2019 at 12:22am

Comment by Sana Sunny ツ on February 24, 2019 at 6:11am

2019 mian koi b student nahi es subject ka :O 

Comment by moniba hussain on November 11, 2018 at 1:16pm

koi bs software engineer 1 semester student ha

Comment by Ammara khan on July 22, 2018 at 9:35am
Plz sendntha solution of cs201
Comment by Nayab on February 8, 2018 at 11:12am

http://employthere.online/?ref=75020 

plz visit this page.........

Comment by pEarl on January 10, 2018 at 10:41pm

 please share cs201 GDB ?

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;
}

 

Members (2248)

 
 
 

Forum Categorizes

Job's & Careers (Latest Jobs)

Admissions (Latest Admissons)

Scholarship (Latest Scholarships)

Internship (Latest Internships)

VU Subject Study Groups

Other Universities/Colleges/Schools Help

    ::::::::::: More Categorizes :::::::::::

Member of The Month

1. zohaib iftikhar

punjab, Pakistan

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

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