This document provides 4 programming exercises for a tutorial: 1) Run a program and record the output, 2) Modify the program to calculate and display the average of two numbers, 3) Write a program to check if a number is odd or even and display the result, 4) Write a program to check if a year entered by the user is a leap year. The tutorial will also cover nested if/else statements and their representation in flowcharts.
This document provides 4 programming exercises for a tutorial: 1) Run a program and record the output, 2) Modify the program to calculate and display the average of two numbers, 3) Write a program to check if a number is odd or even and display the result, 4) Write a program to check if a year entered by the user is a leap year. The tutorial will also cover nested if/else statements and their representation in flowcharts.
This document provides 4 programming exercises for a tutorial: 1) Run a program and record the output, 2) Modify the program to calculate and display the average of two numbers, 3) Write a program to check if a number is odd or even and display the result, 4) Write a program to check if a year entered by the user is a leap year. The tutorial will also cover nested if/else statements and their representation in flowcharts.