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
Started by +!CS619!+. Last reply by +!CS619!+ Apr 2. 2 Replies 1 Like
Started by + M.Tariq Malik. Last reply by + M.Tariq Malik Mar 5. 8 Replies 1 Like
Started by + M.Tariq Malik. Last reply by + M.Tariq Malik Feb 16. 5 Replies 2 Likes
Started by + M.Tariq Malik. Last reply by + M.Tariq Malik Feb 8. 2 Replies 1 Like
Started by + ! ! Pagal Dewani ! ! +. Last reply by Saqib Jan 28. 2 Replies 1 Like
Started by + M.Tariq Malik. Last reply by + M.Tariq Malik Jan 28. 12 Replies 2 Likes
Started by + M.Tariq Malik. Last reply by + M.Tariq Malik Dec 31, 2020. 17 Replies 1 Like
Started by + M.Tariq Malik. Last reply by + M.Tariq Malik Dec 18, 2020. 16 Replies 5 Likes
Started by + M.Tariq Malik. Last reply by + M.Tariq Malik Feb 17. 2 Replies 3 Likes
Started by + M.Tariq Malik. Last reply by + M.Tariq Malik Dec 1, 2020. 25 Replies 4 Likes
Started by + M.Tariq Malik. Last reply by + M.Tariq Malik Sep 23, 2020. 8 Replies 3 Likes
Started by ♦_"Tooba "_♦. Last reply by + M.Tariq Malik Aug 15, 2020. 1 Reply 1 Like
Started by ♦_"Tooba "_♦. Last reply by Usman Mughal Jul 23, 2020. 5 Replies 1 Like
Started by + M.Tariq Malik. Last reply by + M.Tariq Malik Jun 14, 2020. 1 Reply 2 Likes
Started by ♦_"Tooba "_♦. Last reply by ♦_"Tooba "_♦ Jun 16, 2020. 10 Replies 3 Likes
Started by + M.Tariq Malik. Last reply by + M.Tariq Malik May 31, 2020. 1 Reply 2 Likes
Started by +¢αяєℓєѕѕ gιяℓ. Last reply by + ! ! ! ! ! ! !pคຖ໓คค ! ! Jun 2, 2020. 23 Replies 4 Likes
Comment
Skype is not working tommorrw is viva its a server problrm
Mera hogia hai abhi hua hai
kis kis ka viva ho geya hy plz ans me or kia kia pocha ap say teacher nay
hahaha
Yes I am
Assignment 2 of CS201 is continuity of assignment 1. You have to do the same task as you did in assignment 1 but this time you have to use structure variables. You have to write C++ program in which;
ü Enter 1 to calculate the area of Rectangle
ü Enter 2 to calculate the area of a Trapezoid
ü Object (variable) of Rectangle structure is created
ü The program should ask the user to enter the width and length of the rectangle
ü Assign input values to data members of Rectangle Structure
ü Then show the result after calculation. Formula for calculating Area of rectangle is
Area = width x Length.
ü Object (variable) of Trapezoid structure is created
ü The program should ask the user to enter the base1, base2, and height of the trapezoid
ü Assign input values to data members of Trapezoid structure
ü Then shows the result after calculation. Formula for calculating Area of trapezoid is
Area =
AOA i am newly enrolled for MCS 2016 started session from 18 april 2016.
m new student of BSSE ..
my first simple c program..
table program..
#include <iostream>
using std::cin;
using std::cout;
int main()
{
int number;
int table;
cout"plz enter the table number: ";
cin>>number;
cout"\n table is";
cout"\n"number"*1=";
table = number*1;
couttable;
cout"\n"number"*2=";
table = number*2;
couttable;
cout"\n"number"*3=";
table = number*3;
couttable;
cout"\n"number"*4=";
table = number*4;
couttable;
cout"\n"number"*5=";
table = number*5;
couttable;
cout"\n"number"*6=";
table = number*6;
couttable;
cout"\n"number"*7=";
table = number*7;
couttable;
cout"\n"number"*8=";
table = number*8;
couttable;
cout"\n"number"*9=";
table = number*9;
couttable;
cout"\n"number"*10=";
table = number*10;
couttable;
cout"\n\n THANK YOU";
}
© 2021 Created by + M.Tariq Malik.
Powered by
Promote Us | Report an Issue | Privacy Policy | Terms of Service
We non-commercial site working hard since 2009 to facilitate learning Read More. We can't keep up without your support. Donate.
We are user-generated contents & non-commercial site. All product, videos, pictures & others contents on site don't seem to be beneath our Copyrights & belong to their respected owners & freely available on public domains. All Contents on site are for personal & non-commercial use.We believe in Our Policy & do according to them. If Any content is offensive in your Copyrights then please email at m.tariqmalik@gmail.com with copyright detail & We will happy to remove it immediately.
Management: Admins ::: Moderators
Awards Badges List | Moderators Group
All Members | Featured Members | Top Reputation Members | Angels Members | Intellectual Members | Criteria for Selection
Become a Team Member | Safety Guidelines for New | Site FAQ & Rules | Safety Matters | Online Safety | Rules For Blog Post
You need to be a member of CS201 Introduction to Programming to add comments!