Uploaded by DE GUZMAN MA. CRISTALOU SAZON

Program Activity No.1

advertisement
Republic of the Philippines
MARIKINA POLYTECHNIC COLLEGE
Shoe Avenue cor. Chanyungco St., Sta. Elena, Marikina City
COLLEGE OF ENGINEERING
Bachelor of Science in Electronics Engineering
Program Activity No.1
C-Programming.pptx
Submitted by:
Ma. Cristalou Sazon De Guzman
Bs ECE 2A
Republic of the Philippines
MARIKINA POLYTECHNIC COLLEGE
Shoe Avenue cor. Chanyungco St., Sta. Elena, Marikina City
Hello World
Flowchart:
Republic of the Philippines
MARIKINA POLYTECHNIC COLLEGE
Shoe Avenue cor. Chanyungco St., Sta. Elena, Marikina City
Codes:
Output:
Republic of the Philippines
MARIKINA POLYTECHNIC COLLEGE
Shoe Avenue cor. Chanyungco St., Sta. Elena, Marikina City
Information Sheet
Flowchart:
Republic of the Philippines
MARIKINA POLYTECHNIC COLLEGE
Shoe Avenue cor. Chanyungco St., Sta. Elena, Marikina City
Codes:
Output:
Republic of the Philippines
MARIKINA POLYTECHNIC COLLEGE
Shoe Avenue cor. Chanyungco St., Sta. Elena, Marikina City
Power Supply
Flowchart:
Republic of the Philippines
MARIKINA POLYTECHNIC COLLEGE
Shoe Avenue cor. Chanyungco St., Sta. Elena, Marikina City
Codes:
Republic of the Philippines
MARIKINA POLYTECHNIC COLLEGE
Shoe Avenue cor. Chanyungco St., Sta. Elena, Marikina City
Republic of the Philippines
MARIKINA POLYTECHNIC COLLEGE
Shoe Avenue cor. Chanyungco St., Sta. Elena, Marikina City
Output:
Republic of the Philippines
MARIKINA POLYTECHNIC COLLEGE
Shoe Avenue cor. Chanyungco St., Sta. Elena, Marikina City
Age
Flowchart:
Codes:
Output:
Republic of the Philippines
MARIKINA POLYTECHNIC COLLEGE
Shoe Avenue cor. Chanyungco St., Sta. Elena, Marikina City
Math Operation
Flowchart:
Republic of the Philippines
MARIKINA POLYTECHNIC COLLEGE
Shoe Avenue cor. Chanyungco St., Sta. Elena, Marikina City
Codes:
Output:
Republic of the Philippines
MARIKINA POLYTECHNIC COLLEGE
Shoe Avenue cor. Chanyungco St., Sta. Elena, Marikina City
Math Operations
Flowchart:
Republic of the Philippines
MARIKINA POLYTECHNIC COLLEGE
Shoe Avenue cor. Chanyungco St., Sta. Elena, Marikina City
Codes:
Output:
Republic of the Philippines
MARIKINA POLYTECHNIC COLLEGE
Shoe Avenue cor. Chanyungco St., Sta. Elena, Marikina City
Area of A Circle
Flowchart:
Republic of the Philippines
MARIKINA POLYTECHNIC COLLEGE
Shoe Avenue cor. Chanyungco St., Sta. Elena, Marikina City
Codes:
Output:
Republic of the Philippines
MARIKINA POLYTECHNIC COLLEGE
Shoe Avenue cor. Chanyungco St., Sta. Elena, Marikina City
Area of A Triangle
Flowchart:
Republic of the Philippines
MARIKINA POLYTECHNIC COLLEGE
Shoe Avenue cor. Chanyungco St., Sta. Elena, Marikina City
Codes:
Output:
Republic of the Philippines
MARIKINA POLYTECHNIC COLLEGE
Shoe Avenue cor. Chanyungco St., Sta. Elena, Marikina City
Simple Interest
Flowchart:
Republic of the Philippines
MARIKINA POLYTECHNIC COLLEGE
Shoe Avenue cor. Chanyungco St., Sta. Elena, Marikina City
Codes:
Output:
Republic of the Philippines
MARIKINA POLYTECHNIC COLLEGE
Shoe Avenue cor. Chanyungco St., Sta. Elena, Marikina City
Finding the Square and Cube of a Number
Flowchart:
Republic of the Philippines
MARIKINA POLYTECHNIC COLLEGE
Shoe Avenue cor. Chanyungco St., Sta. Elena, Marikina City
Codes:
Output:
Republic of the Philippines
MARIKINA POLYTECHNIC COLLEGE
Shoe Avenue cor. Chanyungco St., Sta. Elena, Marikina City
Finding the Average Grade of a Student (3 Subjects)
Flowchart:
Republic of the Philippines
MARIKINA POLYTECHNIC COLLEGE
Shoe Avenue cor. Chanyungco St., Sta. Elena, Marikina City
Codes:
Output:
Republic of the Philippines
MARIKINA POLYTECHNIC COLLEGE
Shoe Avenue cor. Chanyungco St., Sta. Elena, Marikina City
Swapping the Numbers
Flowchart:
Republic of the Philippines
MARIKINA POLYTECHNIC COLLEGE
Shoe Avenue cor. Chanyungco St., Sta. Elena, Marikina City
Codes:
Output:
Republic of the Philippines
MARIKINA POLYTECHNIC COLLEGE
Shoe Avenue cor. Chanyungco St., Sta. Elena, Marikina City
Escape
Flowchart
Codes:
Output:
Republic of the Philippines
MARIKINA POLYTECHNIC COLLEGE
Shoe Avenue cor. Chanyungco St., Sta. Elena, Marikina City
Larger Number
Flowchart
Codes:
Republic of the Philippines
MARIKINA POLYTECHNIC COLLEGE
Shoe Avenue cor. Chanyungco St., Sta. Elena, Marikina City
Output:
Republic of the Philippines
MARIKINA POLYTECHNIC COLLEGE
Shoe Avenue cor. Chanyungco St., Sta. Elena, Marikina City
Positive or Negative Number
Flowchart
Republic of the Philippines
MARIKINA POLYTECHNIC COLLEGE
Shoe Avenue cor. Chanyungco St., Sta. Elena, Marikina City
Output
Republic of the Philippines
MARIKINA POLYTECHNIC COLLEGE
Shoe Avenue cor. Chanyungco St., Sta. Elena, Marikina City
Check the Number is Greater Than or Less Than 10
Flowchart
Republic of the Philippines
MARIKINA POLYTECHNIC COLLEGE
Shoe Avenue cor. Chanyungco St., Sta. Elena, Marikina City
Codes
Output
Republic of the Philippines
MARIKINA POLYTECHNIC COLLEGE
Shoe Avenue cor. Chanyungco St., Sta. Elena, Marikina City
Check Whether the Number is Odd or Even
Flowchart
Republic of the Philippines
MARIKINA POLYTECHNIC COLLEGE
Shoe Avenue cor. Chanyungco St., Sta. Elena, Marikina City
Codes
Output
Republic of the Philippines
MARIKINA POLYTECHNIC COLLEGE
Shoe Avenue cor. Chanyungco St., Sta. Elena, Marikina City
Check Whether the Number is Divisible by 5
Flowchart
Republic of the Philippines
MARIKINA POLYTECHNIC COLLEGE
Shoe Avenue cor. Chanyungco St., Sta. Elena, Marikina City
Codes
Output
Republic of the Philippines
MARIKINA POLYTECHNIC COLLEGE
Shoe Avenue cor. Chanyungco St., Sta. Elena, Marikina City
Check the Number is a Multiple of 7
Flowchart
Republic of the Philippines
MARIKINA POLYTECHNIC COLLEGE
Shoe Avenue cor. Chanyungco St., Sta. Elena, Marikina City
Codes
Output
Republic of the Philippines
MARIKINA POLYTECHNIC COLLEGE
Shoe Avenue cor. Chanyungco St., Sta. Elena, Marikina City
Compare Two Numbers
Flowchart
Republic of the Philippines
MARIKINA POLYTECHNIC COLLEGE
Shoe Avenue cor. Chanyungco St., Sta. Elena, Marikina City
Codes
Output
Republic of the Philippines
MARIKINA POLYTECHNIC COLLEGE
Shoe Avenue cor. Chanyungco St., Sta. Elena, Marikina City
Arrange 3 Numbers
Flowchart
Republic of the Philippines
MARIKINA POLYTECHNIC COLLEGE
Shoe Avenue cor. Chanyungco St., Sta. Elena, Marikina City
Code
Output
Republic of the Philippines
MARIKINA POLYTECHNIC COLLEGE
Shoe Avenue cor. Chanyungco St., Sta. Elena, Marikina City
Discriminant
Flowchart
Republic of the Philippines
MARIKINA POLYTECHNIC COLLEGE
Shoe Avenue cor. Chanyungco St., Sta. Elena, Marikina City
Codes
Output
Republic of the Philippines
MARIKINA POLYTECHNIC COLLEGE
Shoe Avenue cor. Chanyungco St., Sta. Elena, Marikina City
Average Grade
Flowchart
Republic of the Philippines
MARIKINA POLYTECHNIC COLLEGE
Shoe Avenue cor. Chanyungco St., Sta. Elena, Marikina City
Codes
Republic of the Philippines
MARIKINA POLYTECHNIC COLLEGE
Shoe Avenue cor. Chanyungco St., Sta. Elena, Marikina City
Output
Republic of the Philippines
MARIKINA POLYTECHNIC COLLEGE
Shoe Avenue cor. Chanyungco St., Sta. Elena, Marikina City
Republic of the Philippines
MARIKINA POLYTECHNIC COLLEGE
Shoe Avenue cor. Chanyungco St., Sta. Elena, Marikina City
Print Numbers 1 to n
Flowchart
Republic of the Philippines
MARIKINA POLYTECHNIC COLLEGE
Shoe Avenue cor. Chanyungco St., Sta. Elena, Marikina City
Codes
\
Output
Republic of the Philippines
MARIKINA POLYTECHNIC COLLEGE
Shoe Avenue cor. Chanyungco St., Sta. Elena, Marikina City
Reverse Order by Applying Do While
Flowchart
Republic of the Philippines
MARIKINA POLYTECHNIC COLLEGE
Shoe Avenue cor. Chanyungco St., Sta. Elena, Marikina City
Codes
Output
Republic of the Philippines
MARIKINA POLYTECHNIC COLLEGE
Shoe Avenue cor. Chanyungco St., Sta. Elena, Marikina City
Print First N Even Numbers
Flowchart
Republic of the Philippines
MARIKINA POLYTECHNIC COLLEGE
Shoe Avenue cor. Chanyungco St., Sta. Elena, Marikina City
Codes
Output
Republic of the Philippines
MARIKINA POLYTECHNIC COLLEGE
Shoe Avenue cor. Chanyungco St., Sta. Elena, Marikina City
Print N Odd Numbers
Flowchart
Republic of the Philippines
MARIKINA POLYTECHNIC COLLEGE
Shoe Avenue cor. Chanyungco St., Sta. Elena, Marikina City
Codes
Output
Republic of the Philippines
MARIKINA POLYTECHNIC COLLEGE
Shoe Avenue cor. Chanyungco St., Sta. Elena, Marikina City
Reverse a Given Number
Flowchart
Republic of the Philippines
MARIKINA POLYTECHNIC COLLEGE
Shoe Avenue cor. Chanyungco St., Sta. Elena, Marikina City
Codes
Output
Republic of the Philippines
MARIKINA POLYTECHNIC COLLEGE
Shoe Avenue cor. Chanyungco St., Sta. Elena, Marikina City
Calculate the Sum of a Given Number
Flowchart
Republic of the Philippines
MARIKINA POLYTECHNIC COLLEGE
Shoe Avenue cor. Chanyungco St., Sta. Elena, Marikina City
Codes
Output
Republic of the Philippines
MARIKINA POLYTECHNIC COLLEGE
Shoe Avenue cor. Chanyungco St., Sta. Elena, Marikina City
Check for 3 Digit Angstrom Number
Flowchart
Republic of the Philippines
MARIKINA POLYTECHNIC COLLEGE
Shoe Avenue cor. Chanyungco St., Sta. Elena, Marikina City
Codes
Output
Republic of the Philippines
MARIKINA POLYTECHNIC COLLEGE
Shoe Avenue cor. Chanyungco St., Sta. Elena, Marikina City
Print Table of a Given Number
Flowchart
Republic of the Philippines
MARIKINA POLYTECHNIC COLLEGE
Shoe Avenue cor. Chanyungco St., Sta. Elena, Marikina City
Codes
Output
Republic of the Philippines
MARIKINA POLYTECHNIC COLLEGE
Shoe Avenue cor. Chanyungco St., Sta. Elena, Marikina City
Calculate Sum of the Number
Flowchart
Republic of the Philippines
MARIKINA POLYTECHNIC COLLEGE
Shoe Avenue cor. Chanyungco St., Sta. Elena, Marikina City
Codes
Output
Download