Latest Activity In Study Groups

Join Your Study Groups

VU Past Papers, MCQs and 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: 2360
Latest Activity: Apr 2

Discussion Forum

cs201 short lectures

Started by +!CS619!+. Last reply by +!CS619!+ Apr 2. 2 Replies

cs201 Assigment no 3

Started by + ! ! Pagal Dewani ! ! +. Last reply by Saqib Jan 28. 2 Replies

CS201 Assignment 01 Fall 2020 Solution / Discussion

Started by + M.Tariq Malik. Last reply by + M.Tariq Malik Dec 1, 2020. 25 Replies

GDB cs201 date12th August, 2020

Started by ♦_"Tooba "_♦. Last reply by + M.Tariq Malik Aug 15, 2020. 1 Reply

CS201 Grand Quiz + Mid Term Spring 2020 Due Date: 07-07-2020

Started by + M.Tariq Malik. Last reply by + M.Tariq Malik Jun 14, 2020. 1 Reply

CS201 Viva Preparation Helping Materials Files

Started by + M.Tariq Malik. Last reply by + M.Tariq Malik May 31, 2020. 1 Reply

CS201 - Introduction to Programming Assignment No. 1 Due Date Jun 01, 2020

Started by +¢αяєℓєѕѕ gιяℓ. Last reply by + ! ! ! ! ! ! !pคຖ໓คค ! ! Jun 2, 2020. 23 Replies

Comment Wall

Comment

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

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

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.

 

Members (2360)

 
 
 

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

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