DIU-BLC
Structured Programming (Summer 20)
0%
Previous
Task
General
Course Outline
Assesment
General Discussion
Announcements
Assignment
Interactive Video
Announcements
Lecture 1 : Structure Programming Basic
Lecture Content
Task
Reflection
Lecture 2: Character Set, Tokens, Data type, Variables & Format Specifier
Lecture 3: Operators and Expressions
Lecture 4: Use of Conditional statements(If.. else)
Lecture 5: Use of Switch Statement
Lecture 6: Repetitive statements- while Loop
Lecture 7: Repetitive statements- do...while Loop
Lecture 8: Repetitive statements- for Loop
Lecture 9: Data storage Concept and Design
Lesson 10: Two Dimensional Array
Lecture 11: Way of String Manipulation
Lecture 12: Use of User Defined Data Types
Lecture 13: Use of User Define Function
Next
DIU-BLC
Side panel
Guidelines
For Teachers
For Students
Search
Close
Search
Toggle search input
Log in
Username
Password
Remember username
Forgot Password?
Log in
Create new account
Course Overview
Sections
General
1
Course Outline
File
Assesment
File
General Discussion
Forum
Announcements
Forum
Assignment
File
Interactive Video
Interactive Content
Announcements
Forum
Lecture 1 : Structure Programming Basic
2
Lecture Content
File
Task
Assignment
Reflection
Forum
Skip to main content
Structured Programming (Summer 20)
Home
Courses
DIU
Faculty of Science and Information Technology
Software Engineering
SWE Summer 20
SE 121 (SSH 202)
Lecture 1 : Structure Programming Basic
Task
Task
Opened:
Wednesday, 6 May 2020, 12:00 AM
Due:
Wednesday, 13 May 2020, 12:00 AM
Write a program that print your name.
Read 2 variables, named
A
and
B
and make the sum of these two variables, assigning its result to the variable
X
. Print
X
. Example: For 10 and 15 the printed output will be 25.
Read 2 variables, named
A
and
B
and make the Subtract of these two variables, assigning its results to the variable
X and Y
. Print
X
and Y.
Example: For 10 and 15 the printed output will be 25.
Read two integer values, in this case, the variables A and B. After this, calculate the sum and subtract between them and assign it to the variable
SUM and SUB
. Write the value of this variable.Example: Output for 20 and -10 will be like - SUM = 10 and SUB = 30
Previous Activity
Jump to...
Jump to...
Course Outline
Assesment
General Discussion
Announcements
Assignment
Interactive Video
Announcements
Lecture Content
Reflection
Next Activity