practice question 3: C:\Users\user\OneDrive\Desktop\hlab>joy.exe Enter two integer Value: 10 10 Equal C:\Users\user\OneDrive\Desktop\hlab>joy.exe Enter two integer Value: 16 19 Not Equal
practice question 5: C:\Users\user\OneDrive\Desktop\hlab>joy.exe enter age: 16 Not eligible to vote C:\Users\user\OneDrive\Desktop\hlab>joy.exe enter age: 19 Eligible to vote
ans 5: //Vote Eligibility// Enter your age : 46 Eligible to vote ans 6: //divisible by both num or not// Enter a number to check: 35 Enter the first divisor: 5 Enter the second divisor: 7 The number 35 is divisible by both ans 7: //smallest number between two// Enter the first number: 89 Enter the second number: 76 76 is smaller than 89 ans 8: //Password check// Enter the first password: 45678 Enter the second password: 6789 passwords do not match.
ans 3: (equality check):
Enter 2 integer numbers :60,20
not equal
ans 2:( within in range or not)
Enter a number :8
lower value :5
upper value :9
Within range
practice question 1:
two integers as input:
12 11
12 is greater than 11
ans 1: (greater than or not)
Enter a integer value of x = 45
Enter a integer value of y = 78
78 is greater than 45
ans-4:( maximum value):
Enter three numbers:6,7,8
The largest number is: 8
ans 1:(Greater than or not)
Enter a integer value of a =99
Enter a integer value of b =100
100 is greater than 99
ans-4:( maximum value)
Number 1: 5
Number 2: 6
Number 3: 9
The largest number is: 9
practice question 2:
Three integer value:
18
19
20
the number is within range
ans- 3:( equality check)
Enter 1st integer number : 30
Enter 2nd integer number : 45
Not Equal
practice question 3:
C:\Users\user\OneDrive\Desktop\hlab>joy.exe
Enter two integer Value:
10 10
Equal
C:\Users\user\OneDrive\Desktop\hlab>joy.exe
Enter two integer Value:
16 19
Not Equal
ans 9(leap year or not):
enter a year : 2024
Leap year
"C:\Users\arman\Desktop\dipp\CSE 103\op.c"
"C:\Users\arman\Desktop\dipp\CSE 103
el.c"
ans 5(Voter Eligibility):
Enter the age:19
eligible for vote
practice question 5:
C:\Users\user\OneDrive\Desktop\hlab>joy.exe
enter age:
16
Not eligible to vote
C:\Users\user\OneDrive\Desktop\hlab>joy.exe
enter age:
19
Eligible to vote
ans 5: //Vote Eligibility//
Enter your age : 46
Eligible to vote
ans 6: //divisible by both num or not//
Enter a number to check: 35
Enter the first divisor: 5
Enter the second divisor: 7
The number 35 is divisible by both
ans 7: //smallest number between two//
Enter the first number: 89
Enter the second number: 76
76 is smaller than 89
ans 8: //Password check//
Enter the first password: 45678
Enter the second password: 6789
passwords do not match.
"C:\Users\arman\Desktop\dipp\CSE 103
o.c"