0% found this document useful (0 votes)
61 views20 pages

A Program That Demonstrates The Use of If Statement in A Program

The document describes over 20 programs that demonstrate the use of if statements. Each program section includes a flowchart, code, and output. The programs cover basic if statement usage and range from Programs 29A to 42, with some programs containing multiple parts (e.g. 29A, 29B). The final program is a vending machine example that incorporates different control structures.

Uploaded by

Junrey Libutan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
61 views20 pages

A Program That Demonstrates The Use of If Statement in A Program

The document describes over 20 programs that demonstrate the use of if statements. Each program section includes a flowchart, code, and output. The programs cover basic if statement usage and range from Programs 29A to 42, with some programs containing multiple parts (e.g. 29A, 29B). The final program is a vending machine example that incorporates different control structures.

Uploaded by

Junrey Libutan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

Program 29A: If Statement

A program that demonstrates the use of If Statement in a program.

A. Flowchart
B. Code

C. Output

Program 29B: If Statement


A program that demonstrates the use of If Statement in a program.

A. Flowchart
B. Code
C. Output

Program 29C: If Statement


A program that demonstrates the use of If Statement in a program.

A. Flowchart
B. Code
C. Output

Program 30A: If Statement


A program that demonstrates the use of If Statement in a program.

A. Flowchart
B. Code
C. Output

Program 30B: If Statement


A program that demonstrates the use of If Statement in a program.

A. Flowchart
B. Code
C. Output

Program 30C: If Statement


A program that demonstrates the use of If Statement in a program.

A. Flowchart
B. Code
C. Output

Program 31: If Statement


A program that demonstrates the use of If Statement in a program.

A. Flowchart
B. Code
C. Output

Program 32: If Statement


A program that demonstrates the use of If Statement in a program.

A. Flowchart
B. Code
C. Output

Program 33: If Statement


A program that demonstrates the use of If Statement in a program.

A. Flowchart
B. Code
C. Output

Program 34: If Statement


A program that demonstrates the use of If Statement in a program.

A. Flowchart
B. Code

C. Output
Program 35A: If Statement
A program that demonstrates the use of If Statement in a program.

A. Flowchart
B. Code

C. Output

Program35B: If Statement
A program that demonstrates the use of If Statement in a program.

A. Flowchart
B. Code
C. Output

Program 36: If Statement


A program that demonstrates the use of If Statement in a program.

A. Flowchart
B. Code

C. Output
Program 37: If Statement
A program that demonstrates the use of If Statement in a program.

A. Flowchart
B. Code

C. Output

Program 38: If Statement


A program that demonstrates the use of If Statement in a program.

A. Flowchart
B. Code
C. Output

Program 39A: If Statement


A program that demonstrates the use of If Statement in a program.

A. Flowchart
B. Code
C. Output

Program 39B: If Statement


A program that demonstrates the use of If Statement in a program.

A. Flowchart
B. Code

C. Output
Program 40: If Statement
A program that demonstrates the use of If Statement in a program.

A. Flowchart
B. Code

C. Output
Program 41: If Statement
A program that demonstrates the use of If Statement in a program.

A. Flowchart
B. Code

C. Output
Program 42: Vending Machine Program
A program shows how to create a vending machine program using different control structure

A. Flowchart
B. Codes
C. Output

You might also like