Professional Documents
Culture Documents
A.
Output Example:
Enter a number:25
Enter a number:25
Addition = 50
Subtraction= 0
Multiplication= 625
Division= 1.0
2. Create a program that will allow a person to vote on election, if the voter is 18
years of age or above.
Output Example:
Output Example
input value of a, b,c;
(b<=c) & (b>=a)
ANSWERS:
1. PROGRAM CODE
#Bagting, Marvin D.
#ME1203
#Practical Activity 2
PROGRAM SCREENSHOT
2. PROGRAM CODE
#Bagting, Marvin D.
#ME1203
#Practical Activity 2
PROGRAM SCREENSHOT
3. PROGRAM CODE
#Bagting, Marvin D.
#ME1203
#Practical Activity 2
PROGRAM SCREENSHOT