You are on page 1of 6

Practical No.

Title: Implement a program for IF-else control structure in VB.NET.

Name:- Sandesh Pankaj Kadam

Class:-SYCM-I Roll no:-27 Course:- GAD- 22034

Date of Performance:- 8 th April 2021

1) Implement a program using if-else statement to find whether the number is positive or negative.

Program Code:-

Output:
2) Implement the program using if-else statements to find the number is even or odd.

Program Code:-

Output:
3) Implement the program for finding the greatest of three numbers.

Program Code:-

Output:
4) Write a program using If-Else statement for the following output.

Result Percentage Criteria


Fail Perc<40
Pass Class Perc>40 AND perc
First Class Perc>60 AND perc
Distinction Perc>75

Program Code:-
Output:
5) Write the output of following code.

Program Code:-

Output:

You might also like