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

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: 2361
Latest Activity: 19 hours ago

Discussion Forum

CS201 Current Finalterm Papers Fall 2020 and Past Solved Papers

Started by + M.Tariq Malik. Last reply by + M.Tariq Malik 19 hours ago. 6 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 Jutt"_♦. Last reply by + M.Tariq Malik Aug 15, 2020. 1 Reply

CS201 - Introduction to Programming Assignment No. 3Due Date 23-7- 2020

Started by ♦_"Tooba Jutt"_♦. Last reply by Usman Mughal Jul 23, 2020. 5 Replies

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 - Introduction to Programming Assignment No. 2 Due Date 16-6- 2020

Started by ♦_"Tooba Jutt"_♦. Last reply by ♦_"Tooba Jutt"_♦ Jun 16, 2020. 10 Replies

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

CS201 Short Lecture Spring 2020

Started by ہاشم. Last reply by Faizan ahmed May 13, 2020. 2 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 (2361)

 
 
 

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

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