Professional Documents
Culture Documents
Gad PR 4 Code
Gad PR 4 Code
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.
Program Code:-
Output:
5) Write the output of following code.
Program Code:-
Output: