Professional Documents
Culture Documents
2 Cs115c - Computer Programming Introduction
2 Cs115c - Computer Programming Introduction
PROGRAMMING
ALGORITHM DESIGN
AND REPRESENTATION
ALGORITHM
DESIGN AND
REPRESENTA
TION
08/07/2023
4
ALGORITHM DESIGN AND
REPRESENTATION
FLOWCHARTING
SYMBOLS AND
THEIR MEANINGS
08/07/2023
6
08/07/2023 COLLEGE OF ENGINEERING AND INFORMATION TECHNOLOGY 7
08/07/2023 COLLEGE OF ENGINEERING AND INFORMATION TECHNOLOGY 8
08/07/2023 COLLEGE OF ENGINEERING AND INFORMATION TECHNOLOGY 9
GETTING THE AVERAGE OF
THREE NUMBERS
Start
• Input three (3) numbers
• Validate if numbers are valid
• Add three numbers Enter three
numbers
• Get the average
NO YES Add three numbers
Valid? and get the Average
End Output
Average
Class <Name>{
public static void Main(string[] args)
{
//statement
}
}
08/07/2023 COLLEGE OF ENGINEERING AND INFORMATION TECHNOLOGY 12
13
08/07/2023
BASIC STRUCTURE OF CSHARP
COLLEGE OF ENGINEERING AND INFORMATION TECHNOLOGY
Syntax, Keywords, and
Identifiers
Enter ten
numbers
Add 10 Nos
Subtract the 1st and Last No
Calculate the average
Sum
End Product
Average